refactor: getOperatorId return value
This commit is contained in:
parent
5b38ac2636
commit
74b3c1a9ce
4 changed files with 4 additions and 4 deletions
|
|
@ -9,7 +9,7 @@ const { getOperatorId } = require('../../operator')
|
|||
|
||||
const hostname = options.hostname
|
||||
|
||||
router.use('*', async (req, res, next) => getOperatorId('authentication').then(({ operatorId }) => session({
|
||||
router.use('*', async (req, res, next) => getOperatorId('authentication').then(operatorId => session({
|
||||
store: new PgSession({
|
||||
pgPromise: db,
|
||||
tableName: USER_SESSIONS_TABLE_NAME
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue