From 9406da351bdf8e406aea95e32d86745905d40cf4 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 15 May 2024 15:07:27 +0200 Subject: [PATCH] Fix typo in password.go (#9177) * Fix typo in password.go --- services/graph/pkg/service/v0/password.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/graph/pkg/service/v0/password.go b/services/graph/pkg/service/v0/password.go index 30dfb2a3e..fa4f08f2b 100644 --- a/services/graph/pkg/service/v0/password.go +++ b/services/graph/pkg/service/v0/password.go @@ -53,7 +53,7 @@ func (g Graph) ChangeOwnPassword(w http.ResponseWriter, r *http.Request) { } if newPw == currentPw { - errorcode.InvalidRequest.Render(w, r, http.StatusBadRequest, "new password must be differnt from current password") + errorcode.InvalidRequest.Render(w, r, http.StatusBadRequest, "new password must be different from current password") return }