ソースを参照

Fix wrong spelling

Peanuts 1 年間 前
コミット
7fc43b4745
1 ファイル変更2 行追加2 行削除
  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);