make the backend api naming consistant by always using - instead of -

This commit is contained in:
Zhigang Wang 2024-06-06 15:08:54 -07:00
parent 01ed4cef69
commit 748b0b08ef
3 changed files with 3 additions and 3 deletions

View File

@ -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}` }

View File

@ -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}` }

View File

@ -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
},