Skip to content

Commit 830893d

Browse files
authored
Swagger endpoint name fix
1 parent 3391fb7 commit 830893d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/handlers/users/auth/login.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ func (h *authHandler) VerifySession(c *gin.Context) {
177177
// @Failure 400 {object} dto.ErrorResponse "Bad request body"
178178
// @Failure 401 {object} dto.ErrorResponse "Invalid token or no param provided or account already active"
179179
// @Failure 403 {object} dto.ErrorResponse "Already logged in"
180-
// @Router /auth/activate/{id} [get]
180+
// @Router /auth/activation/{id} [get]
181181
func (h *authHandler) AccountActivation(c *gin.Context) {
182182
if c.GetBool("includedJWT") {
183183
_ = c.Error(errors.NewForbiddenError("You cant activate an account while logged in"))

0 commit comments

Comments
 (0)