Skip to content

Commit 2d41e99

Browse files
committed
Return status code 200 without data.
1 parent b18396d commit 2d41e99

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
@@ -267,7 +267,7 @@ async def release_hook(request: MystbinRequest):
267267
command = 'cd /root/MystBin/; git pull;'
268268
subprocess.run(command, stdout=subprocess.PIPE, shell=True)
269269

270-
return UJSONResponse(data, status_code=200)
270+
return Response(status_code=200)
271271

272272

273273
@router.get(

0 commit comments

Comments
 (0)