|
@@ -36,7 +36,7 @@ def api_root():
|
|
|
def webhook_get_promoter():
|
|
|
rep = json.loads(request.data)
|
|
|
promoterId = rep["promoterId"]
|
|
|
- if rep["mediaId"] == 2:
|
|
|
+ if rep["mediaId"] == 2 or rep["mediaId"] is None:
|
|
|
cookie = cookie_update.get_cookie_handler()[0]
|
|
|
phone_num = cookie_update.get_cookie_handler()[1]
|
|
|
roll = ReturnPromoterInfoSpider().PromoterInfoSpiderHandler(promoterId, cookie)
|