fix: make resetMutation public

This commit is contained in:
Ali BARIN
2023-03-03 20:09:37 +00:00
parent 7d9f624805
commit 5762cf5dc5
2 changed files with 2 additions and 1 deletions

View File

@@ -24,7 +24,7 @@ const resetPassword = async (_parent: unknown, params: Params) => {
await user.resetPassword(password);
return;
return true;
};
export default resetPassword;

View File

@@ -31,6 +31,7 @@ const authentication = shield(
login: allow,
createUser: allow,
forgotPassword: allow,
resetPassword: allow,
},
},
{