1
0
mirror of https://git.boykissers.com/pawkey/pawkey-sk.git synced 2025-12-20 04:04:16 +00:00

Pack other side of relation into response as well

This commit is contained in:
PrivateGER
2024-10-07 11:56:18 +02:00
parent 674fd13807
commit a292e46f84
2 changed files with 2 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
.limit(ps.limit)
.getMany();
return await this.followingEntityService.packMany(followings, me, { populateFollowee: true });
return await this.followingEntityService.packMany(followings, me, { populateFollowee: true, populateFollower: true });
});
}
}

View File

@@ -54,7 +54,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
.limit(ps.limit)
.getMany();
return await this.followingEntityService.packMany(followings, me, { populateFollowee: true });
return await this.followingEntityService.packMany(followings, me, { populateFollowee: true, populateFollower: true });
});
}
}