[Sync] fixed a missing Article images list creation (using id instead of ref)

This commit is contained in:
Roman Timashev committed 2017-10-15 02:01:57 +03:00
1 parent 44e5f832b6
commit ed7909a9a7
1 file changed
+1 -1
+1 -1
View File
@@ -117,7 +117,7 @@ class Article(Model):
def bake(self):
return {
**self.params,
'images': [i.id for i in self.images],
'images': [i.ref for i in self.images],
'post': self.post,
'id': self.id,
'hash': self.hash,