diff options
author | Chocobozzz <me@florianbigard.com> | 2019-01-14 10:44:59 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-01-14 10:44:59 +0100 |
commit | cf405589f06a9ac9d5a05b09bf2183fbf88d56d7 (patch) | |
tree | cfc56a5cb85749ea5cb123c5028350bbd2b8083e /server/controllers/api/users/index.ts | |
parent | b4593cd7ff34b94b60f6bfa0b57e371d74d63aa2 (diff) | |
download | PeerTube-cf405589f06a9ac9d5a05b09bf2183fbf88d56d7.tar.gz PeerTube-cf405589f06a9ac9d5a05b09bf2183fbf88d56d7.tar.zst PeerTube-cf405589f06a9ac9d5a05b09bf2183fbf88d56d7.zip |
Move subscriptions controllers in its own file
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 9e6a019f6..dbe0718d4 100644 --- a/server/controllers/api/users/index.ts +++ b/server/controllers/api/users/index.ts | |||
@@ -41,6 +41,7 @@ import { myBlocklistRouter } from './my-blocklist' | |||
41 | import { myVideosHistoryRouter } from './my-history' | 41 | import { myVideosHistoryRouter } from './my-history' |
42 | import { myNotificationsRouter } from './my-notifications' | 42 | import { myNotificationsRouter } from './my-notifications' |
43 | import { Notifier } from '../../../lib/notifier' | 43 | import { Notifier } from '../../../lib/notifier' |
44 | import { mySubscriptionsRouter } from './my-subscriptions' | ||
44 | 45 | ||
45 | const auditLogger = auditLoggerFactory('users') | 46 | const auditLogger = auditLoggerFactory('users') |
46 | 47 | ||
@@ -58,6 +59,7 @@ const askSendEmailLimiter = new RateLimit({ | |||
58 | 59 | ||
59 | const usersRouter = express.Router() | 60 | const usersRouter = express.Router() |
60 | usersRouter.use('/', myNotificationsRouter) | 61 | usersRouter.use('/', myNotificationsRouter) |
62 | usersRouter.use('/', mySubscriptionsRouter) | ||
61 | usersRouter.use('/', myBlocklistRouter) | 63 | usersRouter.use('/', myBlocklistRouter) |
62 | usersRouter.use('/', myVideosHistoryRouter) | 64 | usersRouter.use('/', myVideosHistoryRouter) |
63 | usersRouter.use('/', meRouter) | 65 | usersRouter.use('/', meRouter) |