Skip to content

Commit 433a683

Browse files
rm logs
1 parent aac5d4d commit 433a683

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/resolvers/user.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export default {
147147

148148
try {
149149
const newPassword = await UserModel.generatePassword();
150-
console.log(newPassword);
150+
151151
await user.changePassword(newPassword);
152152

153153
await emailNotification({
@@ -225,7 +225,7 @@ export default {
225225
{ user, factories }: ResolverContextWithUser
226226
): Promise<boolean> {
227227
const foundUser = await factories.usersFactory.findById(user.id);
228-
console.log(newPassword);
228+
229229
if (!foundUser) {
230230
throw new ApolloError('There is no user with such id');
231231
}

0 commit comments

Comments
 (0)