Skip to content

Commit 278f673

Browse files
committed
more upgrades
1 parent 0c488e4 commit 278f673

4 files changed

Lines changed: 4598 additions & 4084 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
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",

src/controllers/status.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const getVerifiedEmails = async (webId: string) => {
3232

3333
export 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

src/services/mailerService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import * as nodemailer from 'nodemailer'
2-
import Mail from 'nodemailer/lib/mailer'
2+
import { SendMailOptions } from 'nodemailer'
33
import * as path from 'path'
44
import { 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,

0 commit comments

Comments
 (0)