Explorar el Código

chore: default header

DDMeaqua hace 1 año
padre
commit
a3b664763e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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> = {};