minor var misspelling

This commit is contained in:
brian
2021-03-24 13:19:11 -04:00
parent c140dd3b67
commit b27b57805f
+1 -1
View File
@@ -32,7 +32,7 @@ const load_notes_stmt =
+" WHERE bn.bin_id = $1";
// {bin_id}
router.post('/load-notes', (req, res)=>{
const bin_id = req.body.bind_id;
const bin_id = req.body.bin_id;
db.query(load_notes_stmt, [bin_id])
.then(result => {
res.json({status: 'ok', bin:{id:bin_id}, notes:result.rows})