diff --git a/frontend/src/utils/backend/history.js b/frontend/src/utils/backend/history.js index 9d7d90c..113b0e9 100644 --- a/frontend/src/utils/backend/history.js +++ b/frontend/src/utils/backend/history.js @@ -5,7 +5,7 @@ class HistoryApi { static fetchClosedWorkspackeProjects() { let jwt = userUtils.getJwtToken() const request = backendAxios.post( - '/api/user/history/fetch_workspace_closed_projects', + '/api/user/history/fetch-workspace-closed-projects', {}, { headers: { Authorization: `Bearer ${jwt}` } diff --git a/frontend/src/utils/backend/providerHub.js b/frontend/src/utils/backend/providerHub.js index 66aa0c2..8a3683d 100644 --- a/frontend/src/utils/backend/providerHub.js +++ b/frontend/src/utils/backend/providerHub.js @@ -5,7 +5,7 @@ class ProviderHubApi { static fetchProvidersForHub() { let jwt = userUtils.getJwtToken() const request = backendAxios.post( - '/api/providers/fetch_providers_for_hub', + '/api/providers/fetch-providers-for-hub', {}, { headers: { Authorization: `Bearer ${jwt}` } diff --git a/frontend/src/utils/backend/userAuth.js b/frontend/src/utils/backend/userAuth.js index d1f7e6e..d7cf07d 100644 --- a/frontend/src/utils/backend/userAuth.js +++ b/frontend/src/utils/backend/userAuth.js @@ -120,7 +120,7 @@ class UserAuthApi { static signout(identity) { let jwt = userUtils.getJwtToken() const request = backendAxios.post( - '/api/user/signin/sign_out', + '/api/user/signin/sign-out', { identity: identity },