1 parent 733f8e6 commit 6f99e23Copy full SHA for 6f99e23
1 file changed
flask_app.py
@@ -23,4 +23,5 @@ def allocate_endpoint():
23
24
batchref = model.allocate(line, batches)
25
26
+ session.commit()
27
return {"batchref": batchref}, 201
0 commit comments