From 92715b658c905eb2153de264c2673ba7ea0531ef Mon Sep 17 00:00:00 2001 From: Vishal Date: Wed, 3 Apr 2024 19:24:12 +0530 Subject: [PATCH] Change API parameter --- server/pkg/controller/mailing_lists.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/pkg/controller/mailing_lists.go b/server/pkg/controller/mailing_lists.go index c44d9c27f..98f64a0ac 100644 --- a/server/pkg/controller/mailing_lists.go +++ b/server/pkg/controller/mailing_lists.go @@ -225,7 +225,7 @@ func (c *MailingListsController) listmonkUnsubscribe(email string) error { data := map[string]interface{}{ "ids": subscriberID, - "action": "unsubscribe", + "action": "remove", "target_list_ids": c.listmonkListIDs, }