Commit 9d02403e authored by 王浩's avatar 王浩

Merge branch 'haow/dev' into 'dev'

fix code

See merge request !72
parents c2d20a55 5f2fd0d6
...@@ -61,8 +61,6 @@ class TopicUpdateOrCreateView(APIView): ...@@ -61,8 +61,6 @@ class TopicUpdateOrCreateView(APIView):
'star_id': request.POST.get('star', '').split(':')[0], 'star_id': request.POST.get('star', '').split(':')[0],
'tag_ids': tag_ids, 'tag_ids': tag_ids,
'collection_tag_ids': collection_tag_ids, 'collection_tag_ids': collection_tag_ids,
'own_tag_ids': own_tag_ids,
'ai_tag_ids': ai_tag_ids,
'is_online': int(request.POST.get('is_online')), 'is_online': int(request.POST.get('is_online')),
'drop_score': int(request.POST.get('drop_score')), 'drop_score': int(request.POST.get('drop_score')),
'has_image': 1 if topic_images else 0, 'has_image': 1 if topic_images else 0,
......
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