style(admin): format sync.js with prettier

修复 CI 格式化检查失败问题
This commit is contained in:
IanShaw027
2025-12-24 17:52:51 -08:00
parent b2dfc2eb25
commit 11c38b23d1
2 changed files with 11 additions and 1 deletions

View File

@@ -293,7 +293,9 @@ router.get('/sync/export-accounts', authenticateAdmin, async (req, res) => {
continue
}
const accessToken = account.accessToken ? openaiAccountService.decrypt(account.accessToken) : ''
const accessToken = account.accessToken
? openaiAccountService.decrypt(account.accessToken)
: ''
if (!accessToken) {
// Skip broken/legacy records without decryptable token
continue