wip
This commit is contained in:
parent
c84ad52a8e
commit
00548033a6
1 changed files with 4 additions and 4 deletions
|
@ -9,7 +9,7 @@ app = Flask(__name__)
|
|||
|
||||
@app.route('/<strategy>', methods=['POST'])
|
||||
def build(strategy):
|
||||
data = json.dumps(request.get_json())
|
||||
app.logger.info(data)
|
||||
print(strategy, data)
|
||||
return check_output([f"/{environ['STRATEGIES_DIR']}/{strategy}", data])
|
||||
return check_output([
|
||||
f"/{environ['STRATEGIES_DIR']}/{strategy}",
|
||||
json.dumps(request.get_json(), sort_keys=True, indent=4)
|
||||
])
|
||||
|
|
Loading…
Reference in a new issue