diff options
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/api/server/follows.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/controllers/api/server/follows.ts b/server/controllers/api/server/follows.ts index 2e0fd25eb..76ed75186 100644 --- a/server/controllers/api/server/follows.ts +++ b/server/controllers/api/server/follows.ts | |||
@@ -21,8 +21,8 @@ import { | |||
21 | } from '../../../middlewares' | 21 | } from '../../../middlewares' |
22 | import { | 22 | import { |
23 | acceptOrRejectFollowerValidator, | 23 | acceptOrRejectFollowerValidator, |
24 | followersSortValidator, | 24 | instanceFollowersSortValidator, |
25 | followingSortValidator, | 25 | instanceFollowingSortValidator, |
26 | followValidator, | 26 | followValidator, |
27 | getFollowerValidator, | 27 | getFollowerValidator, |
28 | listFollowsValidator, | 28 | listFollowsValidator, |
@@ -35,7 +35,7 @@ const serverFollowsRouter = express.Router() | |||
35 | serverFollowsRouter.get('/following', | 35 | serverFollowsRouter.get('/following', |
36 | listFollowsValidator, | 36 | listFollowsValidator, |
37 | paginationValidator, | 37 | paginationValidator, |
38 | followingSortValidator, | 38 | instanceFollowingSortValidator, |
39 | setDefaultSort, | 39 | setDefaultSort, |
40 | setDefaultPagination, | 40 | setDefaultPagination, |
41 | asyncMiddleware(listFollowing) | 41 | asyncMiddleware(listFollowing) |
@@ -59,7 +59,7 @@ serverFollowsRouter.delete('/following/:hostOrHandle', | |||
59 | serverFollowsRouter.get('/followers', | 59 | serverFollowsRouter.get('/followers', |
60 | listFollowsValidator, | 60 | listFollowsValidator, |
61 | paginationValidator, | 61 | paginationValidator, |
62 | followersSortValidator, | 62 | instanceFollowersSortValidator, |
63 | setDefaultSort, | 63 | setDefaultSort, |
64 | setDefaultPagination, | 64 | setDefaultPagination, |
65 | asyncMiddleware(listFollowers) | 65 | asyncMiddleware(listFollowers) |