Browse Source

log

push-params
Evan Feenstra 4 years ago
parent
commit
aa70cc4903
  1. 1
      dist/src/controllers/index.js
  2. 2
      dist/src/controllers/index.js.map
  3. 1
      src/controllers/index.ts

1
dist/src/controllers/index.js

@ -109,6 +109,7 @@ function set(app) {
limit: 1,
order: [['createdAt', 'DESC']]
});
console.log('=> last.dataValues', last.dataValues);
if (!last) {
res.status(404).send('Not found');
}

2
dist/src/controllers/index.js.map

File diff suppressed because one or more lines are too long

1
src/controllers/index.ts

@ -111,6 +111,7 @@ export async function set(app) {
limit: 1,
order: [[ 'createdAt', 'DESC' ]]
})
console.log('=> last.dataValues',last.dataValues)
if(!last) {
res.status(404).send('Not found');
} else {

Loading…
Cancel
Save