Skip to content

Commit 96582c3

Browse files
committed
Fix mailgun-js import (BL-12843)
1 parent 9df6842 commit 96582c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloud/emails.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function sendEmailAboutBookAsync(
105105
};
106106
Object.assign(/*target=*/ data, /*source=*/ dataForEmailClientJson);
107107

108-
const mailgun = require("mailgun-js");
108+
const mailgun = import("mailgun-js");
109109
const mg = mailgun({
110110
apiKey: process.env.MAILGUN_API_KEY,
111111
domain: "bloomlibrary.org",

0 commit comments

Comments
 (0)