bb
This commit is contained in:
parent
4c5a757c49
commit
de59abf1f4
1 changed files with 2 additions and 2 deletions
|
@ -565,7 +565,7 @@ def api_is_available(name, v):
|
||||||
|
|
||||||
@app.get("/id/<id>")
|
@app.get("/id/<id>")
|
||||||
@auth_required
|
@auth_required
|
||||||
def user_id(id):
|
def user_id(id, v):
|
||||||
try: id = int(id)
|
try: id = int(id)
|
||||||
except: abort(404)
|
except: abort(404)
|
||||||
user = get_account(id)
|
user = get_account(id)
|
||||||
|
@ -573,7 +573,7 @@ def user_id(id):
|
||||||
|
|
||||||
@app.get("/u/<username>")
|
@app.get("/u/<username>")
|
||||||
@auth_required
|
@auth_required
|
||||||
def redditor_moment_redirect(username):
|
def redditor_moment_redirect(username, v):
|
||||||
return redirect(f"/@{username}")
|
return redirect(f"/@{username}")
|
||||||
|
|
||||||
@app.get("/@<username>/followers")
|
@app.get("/@<username>/followers")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue