File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5656 "css-authn" : " ^0.4.0" ,
5757 "dotenv" : " ^16.0.0" ,
5858 "handlebars" : " ^4.7.8" ,
59+ "helmet" : " ^8.1.0" ,
5960 "jsonwebtoken" : " ^9.0.3" ,
6061 "juice" : " ^10.0.0" ,
6162 "koa" : " ^2.14.2" ,
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export const getVerifiedEmails = async (webId: string) => {
3232
3333export const getStatus : Middleware <
3434 DefaultState ,
35- DefaultContext & { params : { webId : string } }
35+ DefaultContext /* & { params: { webId: string } }*/
3636> = async ctx => {
3737 const webId = ctx . params . webId
3838
Original file line number Diff line number Diff line change 11import * as nodemailer from 'nodemailer'
2- import Mail from 'nodemailer/lib/mailer '
2+ import { SendMailOptions } from 'nodemailer'
33import * as path from 'path'
44import { appLogo , smtpTransportOptions } from '../config/index.js'
55
6- export const sendMail = async ( options : Mail . Options ) => {
6+ export const sendMail = async ( options : SendMailOptions ) => {
77 const smtpTransport = nodemailer . createTransport ( smtpTransportOptions )
88 await smtpTransport . sendMail ( {
99 ...options ,
You can’t perform that action at this time.
0 commit comments