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'])
|
@app.route('/<strategy>', methods=['POST'])
|
||||||
def build(strategy):
|
def build(strategy):
|
||||||
data = json.dumps(request.get_json())
|
return check_output([
|
||||||
app.logger.info(data)
|
f"/{environ['STRATEGIES_DIR']}/{strategy}",
|
||||||
print(strategy, data)
|
json.dumps(request.get_json(), sort_keys=True, indent=4)
|
||||||
return check_output([f"/{environ['STRATEGIES_DIR']}/{strategy}", data])
|
])
|
||||||
|
|
Loading…
Reference in a new issue