修复 eslint

This commit is contained in:
atoz03
2025-12-20 01:40:41 +08:00
parent e56d797d87
commit b6f3459522
2 changed files with 3 additions and 5 deletions

View File

@@ -186,7 +186,7 @@ router.post('/accounts/:accountId/balance/script/test', authenticateAdmin, async
}
const payload = req.body || {}
const scriptBody = payload.scriptBody
const { scriptBody } = payload
if (!scriptBody) {
return res.status(400).json({ success: false, error: '脚本内容不能为空' })
}