fix(KB-241): use form values for ntfy test notifications

- Update frontend API client to accept config parameter for testNtfyNotification
- Modify SettingsModal to pass current form values when testing notifications
- Update SettingsModal test to expect config object in API call
- Add changeset documenting the test notification fix
This commit is contained in:
gsxdsm
2026-03-31 05:31:52 -07:00
parent 4be8306f7a
commit 243da605b1
4 changed files with 14 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
---
"@dustinbyrne/kb": patch
---
Fix test notification feature to use current form values instead of saved settings
Previously, clicking "Test notification" in settings would fail with a 400 error if ntfy was enabled in the form but not yet saved. The test notification now correctly uses the current form values (ntfyEnabled, ntfyTopic) when available, falling back to stored settings for backward compatibility.