always return true or false for sharemetadata
This commit is contained in:
parent
03e2c068ca
commit
b2c3d9f47b
1 changed files with 1 additions and 0 deletions
|
@ -141,6 +141,7 @@ class Item(db.Model):
|
|||
for key in self.array_keys:
|
||||
if key in j and not isinstance(j[key], list):
|
||||
j[key] = [j[key]]
|
||||
j['sharemetadata'] = j.get('sharemetadata', False)
|
||||
return j
|
||||
|
||||
def get_path(self):
|
||||
|
|
Loading…
Reference in a new issue