update

FFIB 5 anni fa
parent
commit
12dbcc5907
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      api/admin_views.py

+ 1 - 1
api/admin_views.py

@@ -202,7 +202,7 @@ def fetch_wx_room_list(request):
202 202
     if rooms.count() != 0:
203 203
         start = int(rooms[0].room_id) - 1
204 204
 
205
-    roominfos = requests.post(url=('http://api.weixin.qq.com/wxa/business/getliveinfo?access_token='+token), json={'start': 0, 'limit': 100})
205
+    roominfos = requests.post(url=('http://api.weixin.qq.com/wxa/business/getliveinfo?access_token='+token), json={'start': 0, 'limit': 99})
206 206
 
207 207
     roominfos = json.loads(roominfos.text).get('room_info', {})
208 208
     for roominfo in roominfos: