Skip to content

Commit

Permalink
fix RetrievePassWord code
Browse files Browse the repository at this point in the history
  • Loading branch information
aichy126 committed Jan 31, 2023
1 parent 00e4f2c commit c1fa2b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/controller/user_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ func (uc *UserController) RetrievePassWord(ctx *gin.Context) {
return
}
_, _ = uc.actionService.ActionRecordAdd(ctx, schema.ActionRecordTypeFindPass, ctx.ClientIP())
code, err := uc.userService.RetrievePassWord(ctx, req)
handler.HandleResponse(ctx, err, code)
_, err := uc.userService.RetrievePassWord(ctx, req)
handler.HandleResponse(ctx, err, nil)
}

// UseRePassWord godoc
Expand Down

0 comments on commit c1fa2b1

Please sign in to comment.