mirror of
https://github.com/FAUSheppy/simple-webhook-handler
synced 2025-12-06 04:11:35 +01:00
fix missing flask module syntax
This commit is contained in:
@@ -7,10 +7,10 @@ app = flask.Flask("webhook-listener")
|
||||
##### FRONTEND PATHS ########
|
||||
@app.route('/', methods=["GET","POST"])
|
||||
def rootPage():
|
||||
if request.method == "GET":
|
||||
if flask.request.method == "GET":
|
||||
return "Webhook Listener ist running"
|
||||
else:
|
||||
data = json.loads(request.body)
|
||||
data = json.loads(flask.request.body)
|
||||
print(json.dumps(data))
|
||||
|
||||
def readExecutionConfig():
|
||||
|
||||
Reference in New Issue
Block a user