Commit c63f1fb3 authored by 王浩's avatar 王浩

Merge branch 'haow/dev' into 'test'

fix code

See merge request alpha/saturn!84
parents ea2cfa46 c0d4b54b
......@@ -149,7 +149,7 @@ class CreatePictorial(BaseView):
for topic in topics:
topic_comments = topic.pop('comments', None)
images = topic.pop('images')
images = topic.pop('image')
topic['images'] = self.image_info(images)
topic['user_id'] = self.get_user_id(id_=topic.get('id'), platform=platform)
error, topic_obj = self.call_rpc('venus/community/crawl/topic', data=topic, platform=platform, pictorial_id=pictorial_id)
......
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