Skip to content

Commit 169af7e

Browse files
committed
updated
1 parent cf98a2b commit 169af7e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/services/user.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const findUniqueUser = async (
3434
};
3535

3636
export const updateUser = async (
37-
where: Partial<Prisma.UserCreateInput>,
37+
where: Prisma.UserWhereUniqueInput,
3838
data: Prisma.UserUpdateInput,
3939
select?: Prisma.UserSelect
4040
) => {

src/utils/email.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ export default class Email {
5151
};
5252

5353
// Send email
54-
const info = await this.newTransport().sendMail(mailOptions);
55-
console.log(nodemailer.getTestMessageUrl(info));
54+
// const info = await this.newTransport().sendMail(mailOptions);
55+
// console.log(nodemailer.getTestMessageUrl(info));
56+
await this.newTransport().sendMail(mailOptions);
5657
}
5758

5859
async sendVerificationCode() {

0 commit comments

Comments
 (0)