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 wrapping of subscriber handler
Kailash Nadh693b939a72a3
diff --git a/subscribers.go b/subscribers.goindex 1133112d..14d3fcb2 100644--- a/subscribers.go+++ b/subscribers.go@@ -189,7 +189,7 @@ func handleCreateSubscriber(c echo.Context) error {// Hand over to the GET handler to return the last insertion.c.SetParamNames("id")c.SetParamValues(fmt.Sprintf("%d", subID))- return c.JSON(http.StatusOK, handleGetSubscriber(c))+ return handleGetSubscriber(c)}// handleUpdateSubscriber handles modification of a subscriber.