Skip to content

Commit

Permalink
fix: remove code
Browse files Browse the repository at this point in the history
  • Loading branch information
isaqueveras committed Oct 16, 2023
1 parent e2db61d commit 62c8baf
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions delivery/http/auth/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 62c8baf

Please sign in to comment.