Fix bug
This commit is contained in:
parent
b669b6ffc1
commit
f5aa8215b4
1 changed files with 1 additions and 1 deletions
|
|
@ -490,7 +490,7 @@ async function getCodexUsage(accessToken) {
|
|||
});
|
||||
|
||||
if (!response.ok) {
|
||||
throw new Error(`Codex API error: ${response.status}`);
|
||||
return { message: `Codex connected. Usage API temporarily unavailable (${response.status}).` };
|
||||
}
|
||||
|
||||
const data = await response.json();
|
||||
|
|
|
|||
Loading…
Reference in a new issue