diff --git a/public.go b/public.go index 0aa6841..30334e5 100644 --- a/public.go +++ b/public.go @@ -278,7 +278,7 @@ func handleSubscriptionForm(c echo.Context) error { makeMsgTpl("Error", "", fmt.Sprintf("%s", err.(*echo.HTTPError).Message))) } - return c.Render(http.StatusInternalServerError, tplMessage, + return c.Render(http.StatusOK, tplMessage, makeMsgTpl("Done", "", `Subscribed successfully.`)) }