fix: wrong path
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 8s

This commit is contained in:
Methapon2001 2025-03-17 16:32:38 +07:00
parent 37f59b7dd5
commit 5a2419c205

View file

@ -3,9 +3,9 @@ import { defineStore } from 'pinia';
import { api } from 'src/boot/axios';
import { getToken } from 'src/services/keycloak';
import { Manual } from './types';
import { baseUrl } from '../utils';
const ENDPOINT = 'manual';
const baseUrl = '/api/v1';
export async function getManual() {
const res = await api.get<Manual[]>(`/${ENDPOINT}`);