remotes/1693045480750635534/spooky-22
parent
01a51422b8
commit
32718a5e0b
|
@ -25,7 +25,7 @@ IMGUR_KEY = environ.get("IMGUR_KEY", "").strip()
|
|||
@app.get("/imgurcredits")
|
||||
@admin_level_required(6)
|
||||
def imgurcredits(v):
|
||||
req = requests.post('https://api.imgur.com/3/credits', headers = {"Authorization": f"Client-ID {IMGUR_KEY}"})
|
||||
req = requests.get('https://api.imgur.com/3/credits', headers = {"Authorization": f"Client-ID {IMGUR_KEY}"})
|
||||
return req.json
|
||||
|
||||
@app.post("/@<username>/make_admin")
|
||||
|
|
Loading…
Reference in New Issue