Commit b4768434 authored by 杨成林's avatar 杨成林

Merge branch 'ycl/fix' into 'test'

fix

See merge request alpha/sun!274
parents 806e1e44 e5277184
......@@ -46,7 +46,7 @@ class PictorialUpdateOrCreate(APIView):
def post(self, request):
id = request.POST.get('id')
id = int(request.POST.get('id')) if request.POST.get('id') else None
star_ids = json.loads(request.POST.get('star', '[]'))
pictorial_user_ids = json.loads(request.POST.get('pictorial_user_ids', '[]'))
collection_tag_ids = json.loads(request.POST.get('collection_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