sdy

update resetPassword

......@@ -4,6 +4,7 @@ import bcrypt from "bcryptjs";
export default {
Mutation: {
resetPassword: async (_, args, { request }) => {
console.log(request);
isAuthenticated(request);
const { emailSecret, email, passwordOne, passwordTwo } = args;
const user = await prisma.user.findOne({
......