fix tx
This commit is contained in:
parent
c69356a5d9
commit
ea05bfbaca
3
main.py
3
main.py
@ -169,7 +169,8 @@ def buy():
|
||||
else:
|
||||
TRANSACTIONS[user_id].append(t)
|
||||
|
||||
return jsonify(t)
|
||||
tx = t
|
||||
return jsonify({"term": tx.instrument, "quantity": tx.quantity, "side": tx.side, "date": tx.date, "rate": tx.rate})
|
||||
|
||||
|
||||
@app.route("/api/login", methods=["POST"])
|
||||
|
BIN
transactions.p
BIN
transactions.p
Binary file not shown.
Loading…
Reference in New Issue
Block a user