mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Don't show videos of remote instance after unfollow
This commit is contained in:
parent
1174a8479a
commit
f05a1c30c1
38 changed files with 402 additions and 211 deletions
|
@ -6,7 +6,7 @@ import { logger } from '../../../helpers/logger'
|
|||
import { getFormattedObjects } from '../../../helpers/utils'
|
||||
import { sequelizeTypescript } from '../../../initializers'
|
||||
import { buildFormattedCommentTree, createVideoComment } from '../../../lib/video-comment'
|
||||
import { asyncMiddleware, authenticate, paginationValidator, setDefaultSort, setPagination } from '../../../middlewares'
|
||||
import { asyncMiddleware, authenticate, paginationValidator, setDefaultSort, setDefaultPagination } from '../../../middlewares'
|
||||
import { videoCommentThreadsSortValidator } from '../../../middlewares/validators'
|
||||
import {
|
||||
addVideoCommentReplyValidator, addVideoCommentThreadValidator, listVideoCommentThreadsValidator, listVideoThreadCommentsValidator,
|
||||
|
@ -21,7 +21,7 @@ videoCommentRouter.get('/:videoId/comment-threads',
|
|||
paginationValidator,
|
||||
videoCommentThreadsSortValidator,
|
||||
setDefaultSort,
|
||||
setPagination,
|
||||
setDefaultPagination,
|
||||
asyncMiddleware(listVideoCommentThreadsValidator),
|
||||
asyncMiddleware(listVideoThreads)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue