Commit 0ac27aa1 authored by zhanglu's avatar zhanglu

Merge branch 'feature/op_topic' into 'dev'

fix

See merge request alpha/sun!108
parents 969193c8 1b8e0fb0
......@@ -72,7 +72,7 @@ class TopicImageListView(APIView):
result = []
for topic_id in topic_ids:
imgs_info = data.get(topic_id, [])
imgs_info = data.get(str(topic_id), [])
if not imgs_info:
continue
......@@ -82,7 +82,7 @@ class TopicImageListView(APIView):
})
result = {
"data": data.get("data", []),
"data": result,
"total": total_count,
}
......
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