Selaa lähdekoodia

chore: default header

DDMeaqua 1 vuosi sitten
vanhempi
commit
a3b664763e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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> = {};