Commit bfc5effd authored by haowang's avatar haowang

fix code

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