Browse Source

Fix wrong spelling

Peanuts 1 năm trước cách đây
mục cha
commit
7fc43b4745
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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);