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| Fix `/admin/account_settings` throwing `Cannot read properties of undefined (reading 'put')` when KV is not configured and `fromBlockList` is empty
- fix: |Docs| Fix User Mail API documentation incorrectly using `x-admin-auth`, changed to correct `x-user-token`
- docs: |Docs| Add Admin API documentation for delete mail, delete address, clear inbox, and clear sent items