Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Official-MoonDao/MoonDAO in…
Browse files Browse the repository at this point in the history
…to thirdwebV5-migration
  • Loading branch information
namedotget committed Jan 10, 2025
2 parents 6a6001d + df759f2 commit 1251e8b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/pages/api/nodemailer/zero-g-contact.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { authMiddleware } from 'middleware/authMiddleware'
import withMiddleware from 'middleware/withMiddleware'
import {
zeroGMailOptions,
transporter,
Expand Down Expand Up @@ -60,4 +62,4 @@ const handler = async (req: any, res: any) => {
}
}
}
export default handler
export default withMiddleware(handler, authMiddleware)

0 comments on commit 1251e8b

Please sign in to comment.