Commit 68ecd249 authored by 钟尚武's avatar 钟尚武

Merge branch 'shangwu/hotfix-tag-set' into 'test'

fix bug

See merge request alpha/sun!339
parents 2d859951 788c6054
......@@ -290,7 +290,7 @@ class TagSetDeleteView(APIView):
class TagSetUpdateOrCreateView(APIView):
def post(self, request):
tag_set_id = request.POST.get("id")
tag_set_id = int(request.POST.get("id", 0))
name = request.POST.get("name", "")
tag_ids = json.loads(request.POST.get("tag_ids", '[]'))
......
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