Commit 76016f22 authored by Bryan Tong's avatar Bryan Tong
Browse files

Merge branch 'fixIssues' into 'master'

Upgrades to fix known issues.

See merge request !1
parents 297a101f fd4b72b2
......@@ -69,7 +69,8 @@ class Drink extends Module {
if (fs.exists(Drink.storePath())) {
throw new Error('Agent is currently shopping')
}
const fields = ['name', 'customer', 'cost', 'tip']
const fields = ['name', 'customer', 'cost', 'tip', 'quantityFilled']
data.quantityFilled = 0
const rv = await DrinkModel.save(DrinkModel, this.db, 0, fields, data)
res.render('requestSuccess', { drinkId: rv })
} catch (e) {
......
......@@ -28,8 +28,8 @@
}
},
"kado": {
"version": "git+https://git.nullivex.com/kado/kado.git#68c1d3d6bdb38bc10adb15775213377717abbe8b",
"from": "git+https://git.nullivex.com/kado/kado.git"
"version": "git+https://git.nullivex.com/nullivex/kado.git#5431ce27016ef686fe98ba0bd9fd388d1ebb1a20",
"from": "git+https://git.nullivex.com/nullivex/kado.git#handleQueryDates"
},
"long": {
"version": "4.0.0",
......
......@@ -4,7 +4,7 @@
"description": "",
"main": "app.js",
"dependencies": {
"kado": "git+https://git.nullivex.com/kado/kado.git",
"kado": "git+https://git.nullivex.com/nullivex/kado.git#handleQueryDates",
"mariadb": "^2.4.0"
},
"devDependencies": {},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment