chore: status code changed

This commit is contained in:
pablohashescobar 2023-11-29 21:45:02 +05:30
parent 6ece5a57e2
commit fc34c91941

View File

@ -116,7 +116,7 @@ class InstanceEndpoint(BaseAPIView):
if instance is None: if instance is None:
return Response( return Response(
{"is_activated": False, "is_setup_done": False}, {"is_activated": False, "is_setup_done": False},
status=status.HTTP_400_BAD_REQUEST, status=status.HTTP_200_OK,
) )
# Return instance # Return instance
serializer = InstanceSerializer(instance) serializer = InstanceSerializer(instance)