webhook fix

This commit is contained in:
the 2024-11-12 16:19:37 +04:00
parent 7f5262575e
commit b7f4aa3f9f

View File

@ -123,7 +123,7 @@ class Manager:
@app.route('/webhook', methods=['POST'])
def webhook():
if request.method == 'POST':
print("Data received from Webhook is")
print("Data received from Webhook is", request.json)
return "Webhook received"
manager1 = Manager(id=1)