Skip to content

Commit

Permalink
change status api endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jigar-arc10 committed Oct 11, 2024
1 parent aefe70b commit ea30723
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const ProviderProcess: React.FunctionComponent<{ actionId: string | null
useEffect(() => {
const fetchStatus = async () => {
try {
const response: any = await restClient.get(`/build-provider-status/${actionId}`);
const response: any = await restClient.get(`/action/status/${actionId}`);
setProcessData(response);
setOpenAccordions(new Array(response.data.tasks.length).fill(false));
} catch (error) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const ProviderActionDetails: React.FunctionComponent<{ actionId: string |
useEffect(() => {
const fetchStatus = async () => {
try {
const response: any = await restClient.get(`/build-provider-status/${actionId}`);
const response: any = await restClient.get(`/action/status/${actionId}`);
setProcessData(response);
setOpenAccordions(new Array(response.data.tasks.length).fill(false));
} catch (error) {
Expand Down

0 comments on commit ea30723

Please sign in to comment.