dont include users in json. slow and not used

This commit is contained in:
j 2016-01-07 11:36:34 +05:30
parent a04b81444b
commit 650f30a776
1 changed files with 3 additions and 1 deletions

View File

@ -108,7 +108,9 @@ class Item(db.Model):
if t:
j['transferadded'] = t.added
j['transferprogress'] = t.progress
j['users'] = list(map(str, list(self.users)))
# unused and slow
#j['users'] = list(map(str, list(self.users)))
if self.info:
j.update(self.info)