chore: default header

This commit is contained in:
DDMeaqua 2024-09-18 14:57:43 +08:00
parent dfaafe3adb
commit a3b664763e
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ export function validString(x: string): boolean {
return x?.length > 0; return x?.length > 0;
} }
export function getHeaders(ignoreHeaders?: boolean) { export function getHeaders(ignoreHeaders: boolean = false) {
const accessStore = useAccessStore.getState(); const accessStore = useAccessStore.getState();
const chatStore = useChatStore.getState(); const chatStore = useChatStore.getState();
let headers: Record<string, string> = {}; let headers: Record<string, string> = {};