This commit is contained in:
parent
37f59b7dd5
commit
5a2419c205
1 changed files with 1 additions and 1 deletions
|
|
@ -3,9 +3,9 @@ import { defineStore } from 'pinia';
|
||||||
import { api } from 'src/boot/axios';
|
import { api } from 'src/boot/axios';
|
||||||
import { getToken } from 'src/services/keycloak';
|
import { getToken } from 'src/services/keycloak';
|
||||||
import { Manual } from './types';
|
import { Manual } from './types';
|
||||||
|
import { baseUrl } from '../utils';
|
||||||
|
|
||||||
const ENDPOINT = 'manual';
|
const ENDPOINT = 'manual';
|
||||||
const baseUrl = '/api/v1';
|
|
||||||
|
|
||||||
export async function getManual() {
|
export async function getManual() {
|
||||||
const res = await api.get<Manual[]>(`/${ENDPOINT}`);
|
const res = await api.get<Manual[]>(`/${ENDPOINT}`);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue