Skip to content
Snippets Groups Projects
Commit 0098b585 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

api: return 204 response for event log tag deletion instead of 200

parent 83a21a10
No related branches found
No related tags found
No related merge requests found
......@@ -1251,7 +1251,7 @@ class EventLogTagDetail(InheritPermissionsAPIView):
return Response("Tag removed, but failed to create log entry: %s" % str(e),
status=status.HTTP_200_OK)
return Response("Tag deleted.",status=status.HTTP_200_OK)
return Response("Tag deleted.",status=status.HTTP_204_NO_CONTENT)
except:
return Response("Tag not found.",status=status.HTTP_404_NOT_FOUND)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment