Commit 22cd684b authored by haowang's avatar haowang

fix code

parent 6eac5896
...@@ -135,7 +135,7 @@ class CreatePictorial(BaseView): ...@@ -135,7 +135,7 @@ class CreatePictorial(BaseView):
topics.append({ topics.append({
'id': pictorial.get('id') + str(index), 'id': pictorial.get('id') + str(index),
'content': pictorial.get('content'), 'content': pictorial.get('content'),
'image': obj, 'images': [obj],
'create_time': pictorial.get('create_time'), 'create_time': pictorial.get('create_time'),
'user_id': self.get_user_id(id_=obj.get('url'), platform=platform) 'user_id': self.get_user_id(id_=obj.get('url'), platform=platform)
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment