forked from rDrama/rDrama
minor fix to annoying unique constraint errors
parent
e44ee52d81
commit
f1275793e7
|
@ -826,6 +826,7 @@ def userpagelisting(user:User, v=None, page:int=1, sort="new", t="all"):
|
|||
return [x.id for x in posts], total
|
||||
|
||||
@app.get("/@<username>")
|
||||
@limiter.limit('1/second', scope=rpath, key_func=get_ID)
|
||||
@limiter.limit(DEFAULT_RATELIMIT)
|
||||
@auth_required
|
||||
def u_username_wall(v:Optional[User], username:str):
|
||||
|
|
Loading…
Reference in New Issue