From 9a91008cfd5749fb6ba3b15878d54c9a1f6a0243 Mon Sep 17 00:00:00 2001
From: yangchenglin <yangchenglin@yangchenglindeMacBook-Pro.local>
Date: Tue, 7 May 2019 16:39:19 +0800
Subject: [PATCH] fix

---
 api/topic.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/api/topic.py b/api/topic.py
index 961fe22..3ea2c8a 100644
--- a/api/topic.py
+++ b/api/topic.py
@@ -140,6 +140,7 @@ class TopicUpdateOrCreateView(APIView):
             'has_video': 1 if request.POST.get('video_url', '') else 0,
             'virtual_vote_num': request.POST.get('virtual_vote_num', ''),
             'is_home': int(request.POST.get('is_home', 0)),
+            'is_recommend': int(request.POST.get('is_recommend', 0)),
         }
         try:
             self.rpc['venus/sun/topic/edit'](id=id, data=data).unwrap()
-- 
2.18.0