Skip to content

Commit

Permalink
Merge pull request #755 from eltociear/patch-1
Browse files Browse the repository at this point in the history
minor typo.
  • Loading branch information
michaelquigley authored Sep 25, 2024
2 parents 991cd34 + 517c5e0 commit 91c5d0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/invite.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (h *inviteHandler) Handle(params account.InviteParams) middleware.Responder
if oldAr, err := str.FindAccountRequestWithEmail(params.Body.Email, tx); err == nil {
logrus.Warnf("found previous account request for '%v', removing", params.Body.Email)
if err := str.DeleteAccountRequest(oldAr.Id, tx); err != nil {
logrus.Errorf("error deleteing previous account request for '%v': %v", params.Body.Email, err)
logrus.Errorf("error deleting previous account request for '%v': %v", params.Body.Email, err)
return account.NewInviteInternalServerError()
}
} else {
Expand Down

0 comments on commit 91c5d0e

Please sign in to comment.