mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-24 00:00:31 +00:00
feat: align account lifecycle
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -255,6 +255,12 @@ fn refresh_account_error(error: RefreshAccountError, request_id: &str) -> AdminE
|
||||
"Account not found",
|
||||
request_id,
|
||||
),
|
||||
RefreshAccountError::LeaseAcquire => AdminError::new(
|
||||
StatusCode::INTERNAL_SERVER_ERROR,
|
||||
50001,
|
||||
"Failed to acquire refresh lease",
|
||||
request_id,
|
||||
),
|
||||
RefreshAccountError::TokenRefresherUnavailable => AdminError::new(
|
||||
StatusCode::INTERNAL_SERVER_ERROR,
|
||||
50001,
|
||||
|
||||
Reference in New Issue
Block a user