diff options
Diffstat (limited to 'server/controllers/api/pods.ts')
-rw-r--r-- | server/controllers/api/pods.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/controllers/api/pods.ts b/server/controllers/api/pods.ts index 06dfd8295..4ff1f5d9f 100644 --- a/server/controllers/api/pods.ts +++ b/server/controllers/api/pods.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import express = require('express') | 1 | import express = require('express') |
2 | import { waterfall } from 'async' | 2 | import { waterfall } from 'async' |
3 | 3 | ||
4 | const db = require('../../initializers/database') | 4 | import { database as db } from '../../initializers/database' |
5 | import { CONFIG } from '../../initializers' | 5 | import { CONFIG } from '../../initializers' |
6 | import { | 6 | import { |
7 | logger, | 7 | logger, |
@@ -35,12 +35,12 @@ podsRouter.post('/makefriends', | |||
35 | ensureIsAdmin, | 35 | ensureIsAdmin, |
36 | makeFriendsValidator, | 36 | makeFriendsValidator, |
37 | setBodyHostsPort, | 37 | setBodyHostsPort, |
38 | makeFriends | 38 | makeFriendsController |
39 | ) | 39 | ) |
40 | podsRouter.get('/quitfriends', | 40 | podsRouter.get('/quitfriends', |
41 | authenticate, | 41 | authenticate, |
42 | ensureIsAdmin, | 42 | ensureIsAdmin, |
43 | quitFriends | 43 | quitFriendsController |
44 | ) | 44 | ) |
45 | 45 | ||
46 | // --------------------------------------------------------------------------- | 46 | // --------------------------------------------------------------------------- |