[Sync] fixed a missing Article images list creation (using id instead of ref)
This commit is contained in:
1 parent
44e5f832b6
commit
ed7909a9a7
1 file changed
+1
-1
@@ -117,7 +117,7 @@ class Article(Model):
|
|||||||
def bake(self):
|
def bake(self):
|
||||||
return {
|
return {
|
||||||
**self.params,
|
**self.params,
|
||||||
'images': [i.id for i in self.images],
|
'images': [i.ref for i in self.images],
|
||||||
'post': self.post,
|
'post': self.post,
|
||||||
'id': self.id,
|
'id': self.id,
|
||||||
'hash': self.hash,
|
'hash': self.hash,
|
||||||
|
|||||||
Reference in new issue
Block a user