Skip to content

Commit

Permalink
fix: remove unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
labasubagia committed Sep 14, 2023
1 parent 0b4b8e2 commit de110a7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/core/service/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ func (s *userService) Register(ctx context.Context, req port.RegisterParams) (us
}

func (s *userService) Login(ctx context.Context, req port.LoginParams) (user domain.User, err error) {
subLogger, _ := ctx.Value(port.LoggerCtxKey).(port.Logger)
subLogger.Info().Msg("func login")

existing, err := s.property.repo.User().FilterUser(ctx, port.FilterUserPayload{Emails: []string{req.User.Email}})
if err != nil {
Expand Down

0 comments on commit de110a7

Please sign in to comment.