From 8b6d27f1bc8de423e9feaea71756966bb1253418 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 29 Jun 2024 22:45:59 -0500 Subject: [PATCH] fix(server): show partners assets on timeline without permission (#10705) * fix(server): show partners assets on timeline without permission * save all * correct fix --- server/src/services/timeline.service.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server/src/services/timeline.service.ts b/server/src/services/timeline.service.ts index fa00fdc58e..b82a16f139 100644 --- a/server/src/services/timeline.service.ts +++ b/server/src/services/timeline.service.ts @@ -45,7 +45,11 @@ export class TimelineService { if (userId) { userIds = [userId]; if (dto.withPartners) { - const partnerIds = await getMyPartnerIds({ userId: auth.user.id, repository: this.partnerRepository }); + const partnerIds = await getMyPartnerIds({ + userId: auth.user.id, + repository: this.partnerRepository, + timelineEnabled: true, + }); userIds.push(...partnerIds); } }