Follow middleware pattern
This commit is contained in:
@@ -9,7 +9,7 @@ module.exports = function prepareContextMiddleware(authApi, pgConnection) {
|
||||
return [
|
||||
locals(),
|
||||
cleanUpQueryParams(),
|
||||
layergroupToken,
|
||||
layergroupToken(),
|
||||
credentials(),
|
||||
authorize(authApi),
|
||||
dbConnSetup(pgConnection)
|
||||
|
||||
Reference in New Issue
Block a user