]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Front.git/blobdiff - api/password_reset.go
Clean password reset response message.
[perso/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Front.git] / api / password_reset.go
index 82aaaef086d69e66bba3f1241c3d8f997fad8469..4b002cdf2f525fe5c4606c094ecaf3a446054b06 100644 (file)
@@ -42,7 +42,7 @@ func (q PasswordResetQuery) Run() (interface{}, *Error) {
                }
        }
 
-       return "OK", nil
+       return nil, nil
 }
 
 type ChangePasswordQuery struct {
@@ -99,5 +99,5 @@ func (q ChangePasswordQuery) Run() (interface{}, *Error) {
                return nil, NewInternalError(err)
        }
 
-       return "OK", nil
+       return nil, nil
 }