From fe3ac88ec685a27682eced2b18b137c06b8a5337 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Mon, 9 Feb 2026 22:43:41 +0000 Subject: [PATCH] Fix breaking insert on nuisances subscription --- platform/report/report_nuisance.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/report/report_nuisance.go b/platform/report/report_nuisance.go index 18c24e17..9547efbd 100644 --- a/platform/report/report_nuisance.go +++ b/platform/report/report_nuisance.go @@ -40,7 +40,7 @@ func (sr Nuisance) addNotificationEmail(ctx context.Context, txn bob.Tx, email s NuisanceID: omit.From(sr.id), EmailAddress: omit.From(email), } - _, err := models.PublicreportNotifyPhoneNuisances.Insert(&setter).Exec(ctx, txn) + _, err := models.PublicreportNotifyEmailNuisances.Insert(&setter).Exec(ctx, txn) if err != nil { return newInternalError(err, "Failed to save new notification email row") }