Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
SivaanandM committed Nov 13, 2024
1 parent d136ae0 commit ae4d8b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (h *V1Client) GetUserSummaryByEmail(userEmail string) (*models.V1UserSummar
if len(summaryResponse.Payload.Items) == 1 {
return summaryResponse.Payload.Items[0], nil
}
return nil, errors.New("More than one user found name: " + userEmail)
return nil, errors.New("More than one user found with email: " + userEmail)
}
return nil, errors.New("user not found for email: " + userEmail)

Expand Down

0 comments on commit ae4d8b4

Please sign in to comment.