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

Prefer social account data over direct user data #1140

Merged
merged 5 commits into from
Jul 25, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update dandiapi/api/views/users.py
Co-authored-by: Mike VanDenburgh <37340715+mvandenburgh@users.noreply.github.com>
  • Loading branch information
jjnesbitt and mvandenburgh committed Jul 25, 2022
commit 95c3dc627caaf66fb9a0c6563db5ac37aa817ee1
2 changes: 1 addition & 1 deletion dandiapi/api/views/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
def _get_user_status(user: User):
try:
return user.metadata.status
except ObjectDoesNotExist:
except UserMetadata.DoesNotExist:
return UserMetadata.Status.INCOMPLETE.value


Expand Down