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 { store, userRoleEnum } from '@/store/index'
|
||||
import { store, userRoleEnum } from '../store/index'
|
||||
|
||||
//public
|
||||
import About from '@/pages/public/About.vue'
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { backendAxios } from './axios'
|
||||
import { userUtils } from '@/store/index'
|
||||
import { userUtils } from '../store/index'
|
||||
|
||||
class HistoryApi {
|
||||
static fetchClosedWorkspackeProjects() {
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { backendAxios } from './axios'
|
||||
import { userUtils } from '@/store/index'
|
||||
import { userUtils } from '../store/index'
|
||||
class LabApi {
|
||||
static translate_text(input_text) {
|
||||
let jwt = userUtils.getJwtToken()
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { backendAxios } from './axios'
|
||||
import { userUtils } from '@/store/index'
|
||||
import { userUtils } from '../store/index'
|
||||
|
||||
class MessageHubApi {
|
||||
static fetchMessageThreads() {
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { backendAxios } from './axios'
|
||||
import { userUtils } from '@/store/index'
|
||||
import { userUtils } from '../store/index'
|
||||
|
||||
class ProviderHubApi {
|
||||
static fetchProvidersForHub() {
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { backendAxios } from './axios'
|
||||
import { userUtils } from '@/store/index'
|
||||
import { userUtils } from '../store/index'
|
||||
|
||||
class RequestHubApi {
|
||||
static fetchRequestForHub() {
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { backendAxios } from './axios'
|
||||
import { userUtils } from '@/store/index'
|
||||
import { userUtils } from '../store/index'
|
||||
|
||||
class UserProfileApi {
|
||||
static fetchUserProfile() {
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
import { userUtils } from '@/store/index'
|
||||
import { userUtils } from '../store/index'
|
||||
|
||||
class WsConnectionFactory {
|
||||
static CreateWebSocket(onOpen, onMessage, onError, onClose) {
|
||||
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.onmessage = onMessage
|
||||
this.socket.onerror = onError
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { backendAxios } from './axios'
|
||||
import { userUtils } from '@/store/index'
|
||||
import { userUtils } from '../store/index'
|
||||
|
||||
class WorksapceApi {
|
||||
static createMilestoneCheckoutSession(project_id, milestone_index) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user