Skip to content
Snippets Groups Projects
Unverified Commit a51fbd73 authored by syuilo's avatar syuilo
Browse files

Suppress errors

parent 063f372f
No related branches found
No related tags found
No related merge requests found
......@@ -76,12 +76,12 @@ export default define(meta, async (ps, user) => {
user: meta.smtpUser,
pass: meta.smtpPass
} : undefined
});
} as any);
const link = `${config.url}/verify-email/${code}`;
transporter.sendMail({
from: meta.email,
from: meta.email!,
to: ps.email,
subject: meta.name || 'Misskey',
text: `To verify email, please click this link: ${link}`
......
......@@ -96,7 +96,7 @@ export default async (ctx: Koa.BaseContext) => {
cipher: undefined,
passphrase: undefined
}
}, (e, publicKey, privateKey) =>
} as any, (e, publicKey, privateKey) =>
e ? j(e) : s([publicKey, privateKey])
));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment