mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-26 23:33:23 +00:00
chore(app): tidy a comment in the Codex quota reader
This commit is contained in:
parent
5b15718058
commit
902253e18b
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ async function discoverSource(deps: CodexDeps, allowKeychain: boolean): Promise<
|
|||
if (fileAuth) return { name: 'authFile', auth: fileAuth, writable: true, reread: () => readAuth(deps) }
|
||||
// (c) com.openai.codex App Support, only if it holds a plaintext auth JSON
|
||||
// with a usable token. Tokens encrypted via "Codex Safe Storage" have no
|
||||
// plaintext access_token here, so they fall through so we never decrypt.
|
||||
// plaintext access_token here, so they fall through, and we never decrypt.
|
||||
const openaiAuth = await readAuth(deps, deps.openaiAuthPath).catch(() => null)
|
||||
if (openaiAuth?.tokens?.access_token) {
|
||||
return { name: 'openaiAppSupport', auth: openaiAuth, writable: false, reread: () => readAuth(deps, deps.openaiAuthPath).catch(() => null) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue