From 742b9f4f6f98f9845a9821c825732cbc8da4beaa Mon Sep 17 00:00:00 2001 From: sagrawal3-godaddy <72866487+sagrawal3-godaddy@users.noreply.github.com> Date: Fri, 31 Dec 2021 16:24:05 +0530 Subject: [PATCH] Fix the Error handling fir Activation API --- handlers/auth-handlers/activation/activation.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/handlers/auth-handlers/activation/activation.go b/handlers/auth-handlers/activation/activation.go index 3123185..62fcd98 100644 --- a/handlers/auth-handlers/activation/activation.go +++ b/handlers/auth-handlers/activation/activation.go @@ -21,6 +21,8 @@ func NewHandlerActivation(service activationAuth.Service) *handler { func (h *handler) ActivationHandler(ctx *gin.Context) { var input activationAuth.InputActivation + input.Token = ctx.Param("token") + ctx.ShouldBindJSON(&input) config := gpc.ErrorConfig{ Options: []gpc.ErrorMetaConfig{