Update authentik/outposts/api/outposts.py

Co-authored-by: Jens L. <jens@goauthentik.io>
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
Marc 'risson' Schmitt
2024-07-04 17:00:10 +02:00
committed by GitHub
parent 3985725550
commit 95cd7ec904

View File

@ -217,4 +217,4 @@ class OutpostViewSet(UsedByMixin, ModelViewSet):
"""Force an outpost to refresh its configuration. Will also clear its cache."""
outpost: Outpost = self.get_object()
outpost_send_update(outpost)
return Response({}, status=200)
return Response(status=204)