diff options
Diffstat (limited to 'server/middlewares/index.js')
-rw-r--r-- | server/middlewares/index.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/middlewares/index.js b/server/middlewares/index.js index ffd19337c..f0fad3418 100644 --- a/server/middlewares/index.js +++ b/server/middlewares/index.js | |||
@@ -1,11 +1,13 @@ | |||
1 | 'use strict' | 1 | 'use strict' |
2 | 2 | ||
3 | const oauth2 = require('./oauth2') | 3 | const oauth2 = require('./oauth2') |
4 | const pagination = require('./pagination') | ||
4 | const reqValidatorsMiddleware = require('./reqValidators') | 5 | const reqValidatorsMiddleware = require('./reqValidators') |
5 | const secureMiddleware = require('./secure') | 6 | const secureMiddleware = require('./secure') |
6 | 7 | ||
7 | const middlewares = { | 8 | const middlewares = { |
8 | oauth2: oauth2, | 9 | oauth2: oauth2, |
10 | pagination: pagination, | ||
9 | reqValidators: reqValidatorsMiddleware, | 11 | reqValidators: reqValidatorsMiddleware, |
10 | secure: secureMiddleware | 12 | secure: secureMiddleware |
11 | } | 13 | } |