mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 18:29:27 +02:00
Infinite scroll to list our subscriptions
This commit is contained in:
parent
f37dc0dd14
commit
aa55a4da42
10 changed files with 67 additions and 67 deletions
|
@ -169,9 +169,6 @@ export class ActorFollowModel extends Model<ActorFollowModel> {
|
|||
|
||||
static loadByActorAndTargetNameAndHostForAPI (actorId: number, targetName: string, targetHost: string, t?: Sequelize.Transaction) {
|
||||
const actorFollowingPartInclude: IIncludeOptions = {
|
||||
attributes: {
|
||||
exclude: unusedActorAttributesForAPI
|
||||
},
|
||||
model: ActorModel,
|
||||
required: true,
|
||||
as: 'ActorFollowing',
|
||||
|
@ -203,7 +200,12 @@ export class ActorFollowModel extends Model<ActorFollowModel> {
|
|||
actorId
|
||||
},
|
||||
include: [
|
||||
actorFollowingPartInclude
|
||||
actorFollowingPartInclude,
|
||||
{
|
||||
model: ActorModel,
|
||||
required: true,
|
||||
as: 'ActorFollower'
|
||||
}
|
||||
],
|
||||
transaction: t
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue