DDMeaqua пре 1 година
родитељ
комит
a3b664763e
1 измењених фајлова са 1 додато и 1 уклоњено
  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> = {};