feat: refactor forgot password mutation with the REST API endpoint

This commit is contained in:
kasia.oczkowska
2024-07-17 13:23:45 +01:00
parent 778559d537
commit 46ec9b5229
8 changed files with 39 additions and 70 deletions

View File

@@ -17,7 +17,6 @@ type Mutation {
deleteUser(input: DeleteUserInput): Boolean
duplicateFlow(input: DuplicateFlowInput): Flow
executeFlow(input: ExecuteFlowInput): executeFlowType
forgotPassword(input: ForgotPasswordInput): Boolean
generateAuthUrl(input: GenerateAuthUrlInput): AuthLink
login(input: LoginInput): Auth
registerUser(input: RegisterUserInput): User
@@ -405,10 +404,6 @@ input UpdateCurrentUserInput {
fullName: String
}
input ForgotPasswordInput {
email: String!
}
input ResetPasswordInput {
token: String!
password: String!