diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-06-25 17:44:19 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-06-25 17:44:19 +0200 |
commit | 0a381679e04bc7adf097da9a6fb4e2c8f41bbda2 (patch) | |
tree | 02c6745db0cc36517ceffad3bee129f833fd3341 /server/controllers/api/index.ts | |
parent | d58cdea854904369c2dcce905ce42f4f6db836a8 (diff) | |
download | PeerTube-0a381679e04bc7adf097da9a6fb4e2c8f41bbda2.tar.gz PeerTube-0a381679e04bc7adf097da9a6fb4e2c8f41bbda2.tar.zst PeerTube-0a381679e04bc7adf097da9a6fb4e2c8f41bbda2.zip |
ClientLocal -> OAuthClientLocal
Diffstat (limited to 'server/controllers/api/index.ts')
-rw-r--r-- | server/controllers/api/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/controllers/api/index.ts b/server/controllers/api/index.ts index 3abe9bcf8..a9205b33c 100644 --- a/server/controllers/api/index.ts +++ b/server/controllers/api/index.ts | |||
@@ -2,7 +2,7 @@ import * as express from 'express' | |||
2 | 2 | ||
3 | import { badRequest } from '../../helpers' | 3 | import { badRequest } from '../../helpers' |
4 | 4 | ||
5 | import { clientsRouter } from './clients' | 5 | import { oauthClientsRouter } from './oauth-clients' |
6 | import { configRouter } from './config' | 6 | import { configRouter } from './config' |
7 | import { podsRouter } from './pods' | 7 | import { podsRouter } from './pods' |
8 | import { remoteRouter } from './remote' | 8 | import { remoteRouter } from './remote' |
@@ -12,7 +12,7 @@ import { videosRouter } from './videos' | |||
12 | 12 | ||
13 | const apiRouter = express.Router() | 13 | const apiRouter = express.Router() |
14 | 14 | ||
15 | apiRouter.use('/clients', clientsRouter) | 15 | apiRouter.use('/oauth-clients', oauthClientsRouter) |
16 | apiRouter.use('/config', configRouter) | 16 | apiRouter.use('/config', configRouter) |
17 | apiRouter.use('/pods', podsRouter) | 17 | apiRouter.use('/pods', podsRouter) |
18 | apiRouter.use('/remote', remoteRouter) | 18 | apiRouter.use('/remote', remoteRouter) |