Skip to content

Commit

Permalink
fix: change a param and route for perimeter right
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehdi-BOUYAHIA committed Dec 14, 2023
1 parent 8c6a656 commit 7fe0fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/aphp/callApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ export const fetchAccessExpirations: (
}

export const fetchPerimeterAccesses = async (perimeter: string) => {
const response = await apiBackend.get(`accesses/accesses/my-rights/?care-site-ids=${perimeter}`)
const response = await apiBackend.get(`accesses/accesses/my-data-rights/?perimeters_ids=${perimeter}`)
return response
}

Expand Down

0 comments on commit 7fe0fd2

Please sign in to comment.