Files
boursecu_user/src/api/chat.ts
T

7 lines
252 B
TypeScript
Raw Normal View History

import useAxios from '@/utils/useAxios'
import type { User } from '@/models/login'
export const startChat = async (): Promise<{ message: string; user: User }> => {
return await useAxios.get<{ message: string; user: User }>(`/customer/start-chat`)
}