fix: prevent account_settings KV.put on empty fromBlockList (#847)

* fix: avoid KV.put when fromBlockList is empty

* docs: update English changelog for account_settings fix
This commit is contained in:
Dream Hunter
2026-03-02 00:27:24 +08:00
committed by GitHub
parent 0df74ee5cc
commit a5e5fceab5
3 changed files with 4 additions and 2 deletions
+1
View File
@@ -14,6 +14,7 @@
### Bug Fixes
- fix: |Admin API| 修复 `/admin/account_settings` 在未配置 KV 且 `fromBlockList` 为空时触发 `Cannot read properties of undefined (reading 'put')` 的问题
- fix: |文档| 修复 User Mail API 文档中错误使用 `x-admin-auth` 的问题,改为正确的 `x-user-token`
- docs: |文档| 新增 Admin 删除邮件、删除邮箱地址、清空收件箱、清空发件箱 API 文档