Skip to content

Commit

Permalink
chore: update invite.go
Browse files Browse the repository at this point in the history
deleteing -> deleting

Signed-off-by: Ikko Eltociear Ashimine <[email protected]>
  • Loading branch information
eltociear authored Sep 25, 2024
1 parent 991cd34 commit 517c5e0
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 517c5e0

Please sign in to comment.