diff options
Diffstat (limited to 'server/controllers/api/users/index.ts')
-rw-r--r-- | server/controllers/api/users/index.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/controllers/api/users/index.ts b/server/controllers/api/users/index.ts index bc24792a2..98be46ea2 100644 --- a/server/controllers/api/users/index.ts +++ b/server/controllers/api/users/index.ts | |||
@@ -39,6 +39,7 @@ import { meRouter } from './me' | |||
39 | import { deleteUserToken } from '../../../lib/oauth-model' | 39 | import { deleteUserToken } from '../../../lib/oauth-model' |
40 | import { myBlocklistRouter } from './my-blocklist' | 40 | import { myBlocklistRouter } from './my-blocklist' |
41 | import { myVideosHistoryRouter } from './my-history' | 41 | import { myVideosHistoryRouter } from './my-history' |
42 | import { myNotificationsRouter } from './my-notifications' | ||
42 | 43 | ||
43 | const auditLogger = auditLoggerFactory('users') | 44 | const auditLogger = auditLoggerFactory('users') |
44 | 45 | ||
@@ -55,6 +56,7 @@ const askSendEmailLimiter = new RateLimit({ | |||
55 | }) | 56 | }) |
56 | 57 | ||
57 | const usersRouter = express.Router() | 58 | const usersRouter = express.Router() |
59 | usersRouter.use('/', myNotificationsRouter) | ||
58 | usersRouter.use('/', myBlocklistRouter) | 60 | usersRouter.use('/', myBlocklistRouter) |
59 | usersRouter.use('/', myVideosHistoryRouter) | 61 | usersRouter.use('/', myVideosHistoryRouter) |
60 | usersRouter.use('/', meRouter) | 62 | usersRouter.use('/', meRouter) |