make the backend api naming consistant by always using - instead of -
This commit is contained in:
parent
01ed4cef69
commit
748b0b08ef
@ -5,7 +5,7 @@ class HistoryApi {
|
|||||||
static fetchClosedWorkspackeProjects() {
|
static fetchClosedWorkspackeProjects() {
|
||||||
let jwt = userUtils.getJwtToken()
|
let jwt = userUtils.getJwtToken()
|
||||||
const request = backendAxios.post(
|
const request = backendAxios.post(
|
||||||
'/api/user/history/fetch_workspace_closed_projects',
|
'/api/user/history/fetch-workspace-closed-projects',
|
||||||
{},
|
{},
|
||||||
{
|
{
|
||||||
headers: { Authorization: `Bearer ${jwt}` }
|
headers: { Authorization: `Bearer ${jwt}` }
|
||||||
|
|||||||
@ -5,7 +5,7 @@ class ProviderHubApi {
|
|||||||
static fetchProvidersForHub() {
|
static fetchProvidersForHub() {
|
||||||
let jwt = userUtils.getJwtToken()
|
let jwt = userUtils.getJwtToken()
|
||||||
const request = backendAxios.post(
|
const request = backendAxios.post(
|
||||||
'/api/providers/fetch_providers_for_hub',
|
'/api/providers/fetch-providers-for-hub',
|
||||||
{},
|
{},
|
||||||
{
|
{
|
||||||
headers: { Authorization: `Bearer ${jwt}` }
|
headers: { Authorization: `Bearer ${jwt}` }
|
||||||
|
|||||||
@ -120,7 +120,7 @@ class UserAuthApi {
|
|||||||
static signout(identity) {
|
static signout(identity) {
|
||||||
let jwt = userUtils.getJwtToken()
|
let jwt = userUtils.getJwtToken()
|
||||||
const request = backendAxios.post(
|
const request = backendAxios.post(
|
||||||
'/api/user/signin/sign_out',
|
'/api/user/signin/sign-out',
|
||||||
{
|
{
|
||||||
identity: identity
|
identity: identity
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user