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") }