Merge remote-tracking branch 'upstream/release-8.0' into merge-release-8.0-into-dev-220906
This commit is contained in:
commit
4023470fec
47 changed files with 410 additions and 149 deletions
|
|
@ -2,7 +2,7 @@ const { getOperatorId } = require('../operator')
|
|||
|
||||
function findOperatorId (req, res, next) {
|
||||
return getOperatorId('middleware')
|
||||
.then(({ operatorId }) => {
|
||||
.then(operatorId => {
|
||||
res.locals.operatorId = operatorId
|
||||
return next()
|
||||
})
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ function machineAction (type, value) {
|
|||
}
|
||||
|
||||
function reload (operatorId) {
|
||||
state.needsSettingsReload[operatorId.operatorId] = true
|
||||
state.needsSettingsReload[operatorId] = true
|
||||
}
|
||||
|
||||
const populateSettings = function (req, res, next) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue