test commit
This commit is contained in:
@@ -18,7 +18,7 @@ function createTransporter() {
|
||||
|
||||
export async function sendLoginCodeEmail({ to, code }) {
|
||||
if (!hasSmtpEnv()) {
|
||||
console.log(`[DEV] login code for ${to}: ${code}`)
|
||||
console.info(`[DEV] login code for ${to}: ${code}`)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ export async function sendLoginCodeEmail({ to, code }) {
|
||||
|
||||
export async function sendNotificationEmail({ to, subject, html }) {
|
||||
if (!hasSmtpEnv()) {
|
||||
console.log(`[DEV] notification email to ${to}: ${subject}`)
|
||||
console.info(`[DEV] notification email to ${to}: ${subject}`)
|
||||
return { success: true }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user