mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-23 10:53:01 +00:00
Switch from commonjs to nodenext
This commit is contained in:
1 parent
a03ce73459
commit
fca56035c0
2 files changed
+4
-2
No files matched your search
@@ -31,6 +31,8 @@ export class MailJetEmailClient extends BaseEmailClient {
|
||||
|
||||
try {
|
||||
// try to import the transporter package
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-expect-error
|
||||
this.mailJet = new (await import("node-mailjet")).default({
|
||||
apiKey: apiKey,
|
||||
apiSecret: apiSecret,
|
||||
|
||||
Reference in new issue
Block a user