Feat: implement per operator settings cache
Fix: fix linter-found issues Chore: move findOperatorId to own middleware file Chore: delete old routes.js file and rename new-routes.js to routes.js Fix: PR fixes
This commit is contained in:
parent
85235eaa13
commit
558317e9f3
30 changed files with 232 additions and 860 deletions
|
|
@ -1,7 +1,7 @@
|
|||
const _ = require('lodash/fp')
|
||||
const crypto = require('crypto')
|
||||
|
||||
function sha256 (buf) {
|
||||
const crypto = require('crypto')
|
||||
const hash = crypto.createHash('sha256')
|
||||
|
||||
hash.update(buf)
|
||||
|
|
@ -19,4 +19,4 @@ const populateDeviceId = function (req, res, next) {
|
|||
next()
|
||||
}
|
||||
|
||||
module.exports = populateDeviceId
|
||||
module.exports = populateDeviceId
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue