Skip to content

Commit

Permalink
[Fix CODEASSIST] updated api/v1/auth/app-initalization-details respon…
Browse files Browse the repository at this point in the history
…se (#243)
  • Loading branch information
UditThakkar committed May 27, 2024
1 parent cf9c52b commit 657375c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions backend/src/zango/api/platform/auth/v1/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,10 @@ def get(self, request, *args, **kwargs):
serializer = PlatformUserSerializerModel(obj)
success = True
response = {
"app_data": {"user_logged_in": serializer.data},
"is_codeassist_enabled": getattr(settings, "CODEASSIST_ENABLED", False),
"app_data": {
"user_logged_in": serializer.data,
"is_codeassist_enabled": getattr(settings, "CODEASSIST_ENABLED", False)
},
}
status = 200
except Exception as e:
Expand Down

0 comments on commit 657375c

Please sign in to comment.