missing parameters

pull/59/head
justcool393 2022-12-09 22:33:22 -06:00
parent 3b8ff5cc96
commit 708ab87006
1 changed files with 1 additions and 0 deletions

View File

@ -508,6 +508,7 @@ def delete_sub_banner(v:User, sub:str, index:int):
@app.delete("/h/<sub>/settings/banners/")
@limiter.limit("1/10 second;30/day")
@is_not_permabanned
@ratelimit_user("1/10 second;30/day")
def delete_all_sub_banners(v:User, sub:str):
sub = get_sub_by_name(sub)