Skip to content

Commit

Permalink
feat: update to use v2 instance
Browse files Browse the repository at this point in the history
  • Loading branch information
YounixM committed Oct 30, 2024
1 parent 5c02250 commit 42ac9ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,12 @@ export const GatewayApiV2Instance = axios.create({
baseURL: `${ENVIRONMENT.baseURL}${gatewayApiV2}`,
});

GatewayApiV1Instance.interceptors.response.use(
GatewayApiV2Instance.interceptors.response.use(
interceptorsResponse,
interceptorRejected,
);

GatewayApiV1Instance.interceptors.request.use(interceptorsRequestResponse);
GatewayApiV2Instance.interceptors.request.use(interceptorsRequestResponse);
//

AxiosAlertManagerInstance.interceptors.response.use(
Expand Down

0 comments on commit 42ac9ab

Please sign in to comment.