commit 8b8c7049996364ca6873c9ae932fda5b780c1528 parent ad0f44374c2dc77d1b5a77132d7b1a0f4b13a69e Author: n0tr1v <n0tr1v@protonmail.com> Date: Sun, 4 Dec 2022 07:43:08 -0500 reuse const Diffstat:
| M | pkg/web/handlers/utils/utils.go | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/web/handlers/utils/utils.go b/pkg/web/handlers/utils/utils.go @@ -86,7 +86,7 @@ func CreateGistCookie(c echo.Context, gistUUID, v string) { } func GetAprilFoolCookie(c echo.Context) int { - v, err := c.Cookie("april_fool") + v, err := c.Cookie(AprilFoolCookieName) if err != nil { return 0 }