High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.
JavaScript campaigncampaign-managementemail-marketingemail-subscriptionlistmonkmailing-listnewsletternewsletter-managementnewsletter-softwareself-hostedsms-gatewaysmtptransactional-emails
Fix incorrect param read bug in list deletion handler
Kailash Nadhbfe31b75c16c
diff --git a/lists.go b/lists.goindex d203fee6..593e8ede 100644--- a/lists.go+++ b/lists.go@@ -151,11 +151,6 @@ func handleDeleteLists(c echo.Context) error {ids pq.Int64Array)- // Read the list IDs if they were sent in the body.- if err := c.Bind(&ids); err != nil {- return err- }-if id < 1 && len(ids) == 0 {return echo.NewHTTPError(http.StatusBadRequest, "Invalid ID.")}