Commit 5c1af222 authored by haowang's avatar haowang

fix code

parent da3707a5
......@@ -67,7 +67,7 @@ class PictorialUpdateOrCreate(APIView):
'is_feed': int(request.POST.get('is_feed', 0)),
'pictorial_activity_ids': [int(pictorial_activity_id)] if pictorial_activity_id else [],
'alias': request.POST.get('alias', ''),
'is_finished': request.POST.get('is_finished', None)
}
try:
data = self.rpc['venus/sun/pictorial/edit'](id=id, data=data).unwrap()
......
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