Skip to content

Commit b8a7e96

Browse files
committed
Add Release Webhook when tag is created on github.
1 parent 209d320 commit b8a7e96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mystbin/backend/routers/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ async def get_server_stats(request: MystbinRequest):
244244

245245
@router.get("/admin/release_hook", tags=["admin"], include_in_schema=False)
246246
@limit("admin")
247-
async def get_server_stats(request: MystbinRequest):
247+
async def release_hook(request: MystbinRequest):
248248
if not request.state.user or not request.state.user["admin"]:
249249
return UJSONResponse({"error": "Unauthorized"}, status_code=401)
250250

0 commit comments

Comments
 (0)