Skip to content

Commit 2fa26df

Browse files
committed
refactor: remove unused routes for followed accounts, RSS channels, channels, and playlists in AccountController
1 parent a3ab154 commit 2fa26df

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/routes/account.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,15 @@ router.delete('/fcm-device/delete', asyncHandler(AccountFCMDeviceController.dele
3232

3333
router.post('/follow/account', asyncHandler(AccountFollowingAccountController.followAccount));
3434
router.post('/unfollow/account', asyncHandler(AccountFollowingAccountController.unfollowAccount));
35-
router.get('/:account_id_text/followed/accounts', asyncHandler(AccountFollowingAccountController.getFollowedAccounts));
3635

3736
router.post('/follow/add-by-rss-channel', asyncHandler(AccountFollowingAddByRSSChannelController.addOrUpdateRSSChannel));
3837
router.post('/unfollow/add-by-rss-channel', asyncHandler(AccountFollowingAddByRSSChannelController.removeRSSChannel));
39-
router.get('/:account_id_text/followed/add-by-rss-channels', asyncHandler(AccountFollowingAddByRSSChannelController.getFollowedAddByRSSChannels));
4038

4139
router.post('/follow/channel', asyncHandler(AccountFollowingChannelController.followChannel));
4240
router.post('/unfollow/channel', asyncHandler(AccountFollowingChannelController.unfollowChannel));
43-
router.get('/:account_id_text/followed/channels', asyncHandler(AccountFollowingChannelController.getFollowedChannels));
4441

4542
router.post('/follow/playlist', asyncHandler(AccountFollowingPlaylistController.followPlaylist));
4643
router.post('/unfollow/playlist', asyncHandler(AccountFollowingPlaylistController.unfollowPlaylist));
47-
router.get('/:account_id_text/followed/playlists', asyncHandler(AccountFollowingPlaylistController.getFollowedPlaylists));
4844

4945
router.get('/notification/channel/:channel_id_text', asyncHandler(AccountNotificationChannelController.getByAccountAndChannel));
5046
router.get('/notification/channels', asyncHandler(AccountNotificationChannelController.getAllByAccount));

0 commit comments

Comments
 (0)