This commit is contained in:
mwiegand 2021-11-14 22:14:48 +01:00
parent f4ea0d7c0d
commit 2f52ad637e

View file

@ -12,5 +12,5 @@ app = Flask(__name__)
def build():
strategy = request.args['strategy']
hook_data = request.get_json()
print(hook_data)
print(json.dumps(hook_data, sort_keys=True, indent=4))
return check_output([f"/{environ['STRATEGIES_DIR']}/{strategy}", json.dumps(hook_data)])