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