dont include users in json. slow and not used
This commit is contained in:
parent
a04b81444b
commit
650f30a776
1 changed files with 3 additions and 1 deletions
|
@ -108,7 +108,9 @@ class Item(db.Model):
|
||||||
if t:
|
if t:
|
||||||
j['transferadded'] = t.added
|
j['transferadded'] = t.added
|
||||||
j['transferprogress'] = t.progress
|
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:
|
if self.info:
|
||||||
j.update(self.info)
|
j.update(self.info)
|
||||||
|
|
Loading…
Reference in a new issue