Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vague Errors in User Profile Page #7650

Closed
gigincg opened this issue Apr 18, 2024 · 2 comments · Fixed by #7652
Closed

Vague Errors in User Profile Page #7650

gigincg opened this issue Apr 18, 2024 · 2 comments · Fixed by #7652
Assignees

Comments

@gigincg
Copy link
Member

gigincg commented Apr 18, 2024

The following Error is being shown on fresh load of care.ohc.network/user/profile

image

Note: This issue might be specific to Superusers

@rithviknishad
Copy link
Member

image

The issue is the queryset explicitly excludes superuser users.

image

@rithviknishad
Copy link
Member

We could instead rely on /api/v1/users/getcurrentuser API for this purpose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants