lingo: return empty items list if user not logged in (#8309)
This commit is contained in:
parent
4272039a3f
commit
2c4c7bce33
|
@ -109,6 +109,7 @@ class Regie(models.Model):
|
|||
if items.get('data'):
|
||||
return [build_remote_item(item, self) for item in items.get('data')]
|
||||
return []
|
||||
return []
|
||||
|
||||
def download_item(self, request, item_id):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue