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

Merge branch 'ycl/fix' into 'test'

fix

See merge request alpha/sun!189
parents 791ed5bc 0b28666a
......@@ -61,7 +61,7 @@ class PictorialUpdateOrCreate(APIView):
'collection_tag_ids': collection_tag_ids,
'is_home_recommend': int(request.POST.get('is_home_recommend', 0)),
'add_score': int(request.POST.get('add_score', 0)),
'is_public': int(request.POST.get('is_public', 0))
'is_public': True if request.POST.get('is_public') == "true" else False
}
try:
......
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