webhook fix
This commit is contained in:
parent
7f5262575e
commit
b7f4aa3f9f
@ -123,7 +123,7 @@ class Manager:
|
|||||||
@app.route('/webhook', methods=['POST'])
|
@app.route('/webhook', methods=['POST'])
|
||||||
def webhook():
|
def webhook():
|
||||||
if request.method == 'POST':
|
if request.method == 'POST':
|
||||||
print("Data received from Webhook is")
|
print("Data received from Webhook is", request.json)
|
||||||
return "Webhook received"
|
return "Webhook received"
|
||||||
|
|
||||||
manager1 = Manager(id=1)
|
manager1 = Manager(id=1)
|
||||||
|
Loading…
Reference in New Issue
Block a user