From 62c8bafbaabacbf002a7b41f47997a6ded0b6350 Mon Sep 17 00:00:00 2001 From: Isaque Veras Date: Sun, 15 Oct 2023 22:33:31 -0300 Subject: [PATCH] fix: remove code --- delivery/http/auth/handler.go | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/delivery/http/auth/handler.go b/delivery/http/auth/handler.go index e9bfaf9..4dd83d2 100644 --- a/delivery/http/auth/handler.go +++ b/delivery/http/auth/handler.go @@ -39,21 +39,6 @@ func createAccount(ctx *gin.Context) { }) } -// @Router /v1/auth/activation/{token} [POST] -func activation(ctx *gin.Context) { - token, err := uuid.Parse(ctx.Param("token")) - if err != nil { - oops.Handling(ctx, err) - return - } - - ctx.JSON(http.StatusCreated, map[string]string{ - "url": *url, - "message": i18n.Value("create_account.message"), - "instructions": i18n.Value("create_account.instructions"), - }) -} - // @Router /v1/auth/login [POST] func login(ctx *gin.Context) { var input domain.Login