Prechádzať zdrojové kódy

chore: default header

DDMeaqua 1 rok pred
rodič
commit
a3b664763e
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      app/client/api.ts

+ 1 - 1
app/client/api.ts

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