chore: format

This commit is contained in:
Methapon2001 2024-04-10 20:28:28 +07:00
parent 4cd5ee39e7
commit b53d46fb0a
3 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@ import { ref } from 'vue';
import { defineStore } from 'pinia';
import { Pagination } from '../types';
import { api } from 'src/boot/axios';
import { Branch, BranchCreate, BranchWithChildren } from './types';
import { Branch, BranchCreate } from './types';
const useBranchStore = defineStore('api-branch', () => {
const data = ref<Pagination<Branch[]>>();
@ -234,7 +234,7 @@ const useBranchStore = defineStore('api-branch', () => {
const res = await api.get<{
hq: number;
br: number;
}>(`/branch/stats`, {
}>('/branch/stats', {
headers: {
'X-Session-Id': flow?.sessionId,
'X-Rtid': flow?.refTransactionId,