Skip to content

Commit

Permalink
Update dandiapi/api/views/users.py
Browse files Browse the repository at this point in the history
Co-authored-by: Mike VanDenburgh <37340715+mvandenburgh@users.noreply.github.com>
  • Loading branch information
jjnesbitt and mvandenburgh authored Jul 25, 2022
1 parent 332a061 commit 9cd62ea
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 9cd62ea

Please sign in to comment.