mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-23 00:53:33 +00:00
fix: 修复claude SSE捕获usage问题
This commit is contained in:
@@ -7614,7 +7614,10 @@ router.put('/openai-accounts/:id', authenticateAdmin, async (req, res) => {
|
||||
updateData.subscriptionExpiresAt = updates.expiresAt
|
||||
}
|
||||
|
||||
if (!hasOauthExpiry && Object.prototype.hasOwnProperty.call(updateData, 'subscriptionExpiresAt')) {
|
||||
if (
|
||||
!hasOauthExpiry &&
|
||||
Object.prototype.hasOwnProperty.call(updateData, 'subscriptionExpiresAt')
|
||||
) {
|
||||
delete updateData.expiresAt
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user