Skip to content

Commit

Permalink
Exclu (#979)
Browse files Browse the repository at this point in the history
* fix: return empty array when timeline is exclusive

* Update experience.service.ts
  • Loading branch information
RiXelanya authored Oct 17, 2024
1 parent dd7e5ea commit 024118d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/experience.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export class ExperienceService {

if (
experience?.exclusive === true &&
this.currentUser[securityId] !== experience.user?.id
this.currentUser[securityId] !== experience.createdBy
) {
return [];
}
Expand Down

0 comments on commit 024118d

Please sign in to comment.