Spaces:
Sleeping
Sleeping
imseldrith
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def verify_webhook():
|
|
20 |
token = request.args.get('hub.verify_token')
|
21 |
challenge = request.args.get('hub.challenge')
|
22 |
|
23 |
-
if mode == 'subscribe' and token == VERIFY_TOKEN:
|
24 |
print('WEBHOOK_VERIFIED')
|
25 |
return challenge, 200
|
26 |
else:
|
|
|
20 |
token = request.args.get('hub.verify_token')
|
21 |
challenge = request.args.get('hub.challenge')
|
22 |
|
23 |
+
if mode == 'subscribe' and token == "imseldrith": # VERIFY_TOKEN:
|
24 |
print('WEBHOOK_VERIFIED')
|
25 |
return challenge, 200
|
26 |
else:
|