remove unnecessary route now

master
Aevann 2023-05-07 21:56:40 +03:00
parent bfde0d7ff3
commit c358590e44
1 changed files with 0 additions and 2 deletions

View File

@ -51,12 +51,10 @@ def get_marseys(db:scoped_session):
return marseys return marseys
@app.get("/marseys") @app.get("/marseys")
@app.get("/marseys/all")
@limiter.limit(DEFAULT_RATELIMIT) @limiter.limit(DEFAULT_RATELIMIT)
@limiter.limit(DEFAULT_RATELIMIT, key_func=get_ID) @limiter.limit(DEFAULT_RATELIMIT, key_func=get_ID)
@auth_required @auth_required
def marseys(v:User): def marseys(v:User):
if SITE_NAME != 'rDrama': if SITE_NAME != 'rDrama':
abort(404) abort(404)