(bugfix) Allow blank notification webhook headers #96

Merged
parkel merged 1 commits from issue-95-notification-500 into master 2026-06-08 22:25:16 +02:00
Owner

Summary

  • Normalize blank notification webhook headers to an empty JSON object before saving notification targets.
  • Add a regression test for creating a notification target with the optional headers field left blank.

Tests

  • PYTHONPATH=src:/tmp/pobsync-testdeps python3 manage.py test pobsync_backend --verbosity 1

Closes #95

## Summary - Normalize blank notification webhook headers to an empty JSON object before saving notification targets. - Add a regression test for creating a notification target with the optional headers field left blank. ## Tests - PYTHONPATH=src:/tmp/pobsync-testdeps python3 manage.py test pobsync_backend --verbosity 1 Closes #95
parkel added 1 commit 2026-06-08 22:23:42 +02:00
Normalize blank notification webhook headers to an empty JSON object so creating email targets from the browser does not try to store NULL in the JSON field.

Closes #95
parkel merged commit 522ae98bb1 into master 2026-06-08 22:25:16 +02:00
parkel deleted branch issue-95-notification-500 2026-06-08 22:25:16 +02:00
Sign in to join this conversation.