Explorar el Código

Fix wrong spelling

Peanuts hace 1 año
padre
commit
7fc43b4745
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app/requests.ts

+ 2 - 2
app/requests.ts

@@ -189,8 +189,8 @@ export async function requestChatStream(
 
       finish();
     } else if (res.status === 401) {
-      console.error("Anauthorized");
-      options?.onError(new Error("Anauthorized"), res.status);
+      console.error("Unauthorized");
+      options?.onError(new Error("Unauthorized"), res.status);
     } else {
       console.error("Stream Error", res.body);
       options?.onError(new Error("Stream Error"), res.status);