chore: status code changed (#2947)

This commit is contained in:
Nikhil 2023-11-29 21:46:54 +05:30 committed by GitHub
parent c65915665b
commit 2556d052de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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