We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 209d320 commit b8a7e96Copy full SHA for b8a7e96
mystbin/backend/routers/admin.py
@@ -244,7 +244,7 @@ async def get_server_stats(request: MystbinRequest):
244
245
@router.get("/admin/release_hook", tags=["admin"], include_in_schema=False)
246
@limit("admin")
247
-async def get_server_stats(request: MystbinRequest):
+async def release_hook(request: MystbinRequest):
248
if not request.state.user or not request.state.user["admin"]:
249
return UJSONResponse({"error": "Unauthorized"}, status_code=401)
250
0 commit comments