Fix 500 on logout
This commit is contained in:
parent
79101c1055
commit
11c7994398
2 changed files with 9 additions and 1 deletions
|
@ -110,7 +110,7 @@ class RepositoryList(ApiResource):
|
|||
# If starred (and only starred) repositories were requested, then load them directly.
|
||||
if starred and namespace is None and not public:
|
||||
if not username:
|
||||
return []
|
||||
return [], set()
|
||||
|
||||
repositories = model.repository.get_user_starred_repositories(get_authenticated_user(),
|
||||
limit=limit,
|
||||
|
|
Reference in a new issue