layer does not need special case

This commit is contained in:
j 2018-11-06 15:33:08 +01:00
parent e1f7c784ad
commit 9983fdbf1e

View file

@ -369,8 +369,6 @@ class Annotation(models.Model):
else:
j['place'] = {}
if layer or (keys and 'layer' in keys):
j['layer'] = self.layer
if keys and 'item' in keys:
j['item'] = self.item.public_id
if keys: