master
Aevann1 2022-01-12 00:23:41 +02:00
parent 482dbc40e6
commit cef106827a
1 changed files with 2 additions and 2 deletions

View File

@ -565,7 +565,7 @@ def api_is_available(name, v):
@app.get("/id/<id>")
@auth_required
def user_id(id):
def user_id(id, v):
try: id = int(id)
except: abort(404)
user = get_account(id)
@ -573,7 +573,7 @@ def user_id(id):
@app.get("/u/<username>")
@auth_required
def redditor_moment_redirect(username):
def redditor_moment_redirect(username, v):
return redirect(f"/@{username}")
@app.get("/@<username>/followers")