feat(notifications): send product notifications with a rights check right before each send

This commit is contained in:
shira committed 2026-10-09 20:38:39 +03:00
1 parent a856066316
commit 623d41b969
59 files changed
+4125 -1126

No files matched your search

@@ -93,7 +93,7 @@ func TestApplicationRunsAndStopsTheMailSenderWorker(t *testing.T) {
if worker == nil {
t.Fatal("newMailSenderWorker() built no worker for an active transport")
}
application := NewApplication(settings, http.NotFoundHandler(), metrics, logger, nil, nil, nil, nil, worker, nil)
application := NewApplication(settings, http.NotFoundHandler(), metrics, logger, nil, nil, nil, nil, worker, nil, nil)
ctx, cancel := context.WithCancel(t.Context())
finished := make(chan error, 1)