mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 17:59:37 +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
|
@ -1,6 +1,6 @@
|
|||
import * as express from 'express'
|
||||
import { getFormattedObjects } from '../../helpers/utils'
|
||||
import { asyncMiddleware, paginationValidator, setDefaultSort, setPagination } from '../../middlewares'
|
||||
import { asyncMiddleware, paginationValidator, setDefaultSort, setDefaultPagination } from '../../middlewares'
|
||||
import { accountsGetValidator, accountsSortValidator } from '../../middlewares/validators'
|
||||
import { AccountModel } from '../../models/account/account'
|
||||
|
||||
|
@ -10,7 +10,7 @@ accountsRouter.get('/',
|
|||
paginationValidator,
|
||||
accountsSortValidator,
|
||||
setDefaultSort,
|
||||
setPagination,
|
||||
setDefaultPagination,
|
||||
asyncMiddleware(listAccounts)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue