Skip to content

Commit 087e652

Browse files
committed
debugging
1 parent 1f7c942 commit 087e652

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

app/assist/mail.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import {env} from '@/envConfig';
33

44
export const SMTPOpt: SMTPTransport.Options = {
55
service: 'Gmail',
6-
port: 2525,
76
auth: {
87
type: 'OAuth2',
98
user: env.mailUserName,
@@ -13,4 +12,3 @@ export const SMTPOpt: SMTPTransport.Options = {
1312
accessToken: env.mailAccessToken
1413
}
1514
};
16-
console.log('this is LOGI:', SMTPOpt);

app/components/auth/signUp.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ export const signUp = async (server: FastifyInstance) => {
2222
const {rowCount} = await server.pg.query('insert into root.users (email, password_hash, code) values ($1, $2, $3)', [email, hash, linkCode]);
2323

2424
if (rowCount) {
25-
console.log('createTransport1');
2625
const transporter = createTransport(SMTPOpt);
27-
console.log('createTransport2');
2826
const link = 'http://localhost:3000/confirm-email/' + linkCode;
2927
const mailOptions = {
3028
to: email,

0 commit comments

Comments
 (0)