mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 14:36:00 -03:30
Merge pull request #272 from jlaska/config_delete_204
Return 204 NO_CONTENT on /config DELETE
This commit is contained in:
@@ -272,7 +272,7 @@ class ApiV1ConfigView(APIView):
|
|||||||
mongodb_control.delay('stop')
|
mongodb_control.delay('stop')
|
||||||
except OSError:
|
except OSError:
|
||||||
pass
|
pass
|
||||||
return Response()
|
return Response(status=status.HTTP_204_NO_CONTENT)
|
||||||
|
|
||||||
class DashboardView(APIView):
|
class DashboardView(APIView):
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user