Skip to content

Commit

Permalink
refactor: remove withCredentials from org endpoint (use interceptor)
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Jan 25, 2024
1 parent 4c12cc3 commit c8ed194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/src/api/OrganisationService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const OrganisationDataService: Function = (url: string) => {
dispatch(OrganisationAction.GetOrganisationDataLoading(true));
const getOrganisationData = async (url) => {
try {
const getOrganisationDataResponse = await axios.get(url, { withCredentials: 'true' });
const getOrganisationDataResponse = await axios.get(url);
const response: GetOrganisationDataModel = getOrganisationDataResponse.data;
dispatch(OrganisationAction.GetOrganisationsData(response));
} catch (error) {
Expand Down

0 comments on commit c8ed194

Please sign in to comment.