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,6 @@
|
|||
const pairing = require('../pairing')
|
||||
|
||||
function ca (req, res) {
|
||||
console.log("ca")
|
||||
const token = req.query.token
|
||||
|
||||
return pairing.authorizeCaDownload(token)
|
||||
|
|
@ -9,4 +8,4 @@ function ca (req, res) {
|
|||
.catch(() => res.status(403).json({ error: 'forbidden' }))
|
||||
}
|
||||
|
||||
module.exports = ca
|
||||
module.exports = ca
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue