Skip to content

Commit

Permalink
fix: retrive equals on type for fetchcohortRights
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehdi-BOUYAHIA committed Dec 4, 2023
1 parent fa6b20c commit ff9eaa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/aphp/serviceCohorts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ const servicesCohorts: IServiceCohorts = {
return cohorts.map((cohort) => {
return {
...cohort,
rights: rightsResponse.data.find((right: any) => right.cohort_id === cohort.fhir_group_id)?.rights
rights: rightsResponse.data.find((right: any) => right.cohort_id == cohort.fhir_group_id)?.rights
}
})
} catch (error) {
Expand Down

0 comments on commit ff9eaa5

Please sign in to comment.