fix the import path in utils
This commit is contained in:
parent
a21f824f7b
commit
ada2f06bae
@ -1,5 +1,5 @@
|
|||||||
import { createRouter, createWebHistory } from 'vue-router'
|
import { createRouter, createWebHistory } from 'vue-router'
|
||||||
import { store, userRoleEnum } from '@/store/index'
|
import { store, userRoleEnum } from '../store/index'
|
||||||
|
|
||||||
//public
|
//public
|
||||||
import About from '@/pages/public/About.vue'
|
import About from '@/pages/public/About.vue'
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { backendAxios } from './axios'
|
import { backendAxios } from './axios'
|
||||||
import { userUtils } from '@/store/index'
|
import { userUtils } from '../store/index'
|
||||||
|
|
||||||
class HistoryApi {
|
class HistoryApi {
|
||||||
static fetchClosedWorkspackeProjects() {
|
static fetchClosedWorkspackeProjects() {
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { backendAxios } from './axios'
|
import { backendAxios } from './axios'
|
||||||
import { userUtils } from '@/store/index'
|
import { userUtils } from '../store/index'
|
||||||
class LabApi {
|
class LabApi {
|
||||||
static translate_text(input_text) {
|
static translate_text(input_text) {
|
||||||
let jwt = userUtils.getJwtToken()
|
let jwt = userUtils.getJwtToken()
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { backendAxios } from './axios'
|
import { backendAxios } from './axios'
|
||||||
import { userUtils } from '@/store/index'
|
import { userUtils } from '../store/index'
|
||||||
|
|
||||||
class MessageHubApi {
|
class MessageHubApi {
|
||||||
static fetchMessageThreads() {
|
static fetchMessageThreads() {
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { backendAxios } from './axios'
|
import { backendAxios } from './axios'
|
||||||
import { userUtils } from '@/store/index'
|
import { userUtils } from '../store/index'
|
||||||
|
|
||||||
class ProviderHubApi {
|
class ProviderHubApi {
|
||||||
static fetchProvidersForHub() {
|
static fetchProvidersForHub() {
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { backendAxios } from './axios'
|
import { backendAxios } from './axios'
|
||||||
import { userUtils } from '@/store/index'
|
import { userUtils } from '../store/index'
|
||||||
|
|
||||||
class RequestHubApi {
|
class RequestHubApi {
|
||||||
static fetchRequestForHub() {
|
static fetchRequestForHub() {
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { backendAxios } from './axios'
|
import { backendAxios } from './axios'
|
||||||
import { userUtils } from '@/store/index'
|
import { userUtils } from '../store/index'
|
||||||
|
|
||||||
class UserProfileApi {
|
class UserProfileApi {
|
||||||
static fetchUserProfile() {
|
static fetchUserProfile() {
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
import { userUtils } from '@/store/index'
|
import { userUtils } from '../store/index'
|
||||||
|
|
||||||
class WsConnectionFactory {
|
class WsConnectionFactory {
|
||||||
static CreateWebSocket(onOpen, onMessage, onError, onClose) {
|
static CreateWebSocket(onOpen, onMessage, onError, onClose) {
|
||||||
let jwt = userUtils.getJwtToken()
|
let jwt = userUtils.getJwtToken()
|
||||||
this.socket = new WebSocket(`/ws/downstream/downstream_notification?token=${jwt}`)
|
this.socket = new WebSocket(`/ws/downstream/online_platform_notification?token=${jwt}`)
|
||||||
this.socket.onopen = onOpen
|
this.socket.onopen = onOpen
|
||||||
this.socket.onmessage = onMessage
|
this.socket.onmessage = onMessage
|
||||||
this.socket.onerror = onError
|
this.socket.onerror = onError
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { backendAxios } from './axios'
|
import { backendAxios } from './axios'
|
||||||
import { userUtils } from '@/store/index'
|
import { userUtils } from '../store/index'
|
||||||
|
|
||||||
class WorksapceApi {
|
class WorksapceApi {
|
||||||
static createMilestoneCheckoutSession(project_id, milestone_index) {
|
static createMilestoneCheckoutSession(project_id, milestone_index) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user