fix wrongly-named route

master
Aevann1 2022-09-02 19:36:49 +02:00
parent 1de21241bd
commit 62fd93ee7d
1 changed files with 1 additions and 1 deletions

View File

@ -892,7 +892,7 @@ def mod_pin(cid, v):
return {"message": "Comment pinned!"} return {"message": "Comment pinned!"}
@app.post("/unmod_pin/<cid>") @app.post("/mod_unpin/<cid>")
@auth_required @auth_required
def mod_unpin(cid, v): def mod_unpin(cid, v):