Skip to content

Commit

Permalink
NCO fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jarosenb committed Aug 7, 2024
1 parent ae355c8 commit 535b333
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions designsafe/apps/nco/managers/projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ def __init__(self, user):
:param user: Django user instance.
"""
self.user = user
if user.is_authenticated:
self._ac = user.agave_oauth.client
else:
self._ac = service_account()
self._ac = service_account()

self._mp = MongoProjectsHelper(self._ac)
self._pm = ProjectsManager(self._ac)
Expand Down

0 comments on commit 535b333

Please sign in to comment.