updated code for new package
This commit is contained in:
1 parent
f02a6b31fa
commit
fdb59866b3
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -85,7 +85,7 @@ const startApp = async () => {
|
||||
|
||||
app.use("/api/v1/mail", async (req, res) => {
|
||||
try {
|
||||
const id = await req.emailSerivce.buildAndSendEmail(
|
||||
const id = await req.emailService.buildAndSendEmail(
|
||||
"welcomeEmailTemplate",
|
||||
{
|
||||
name: "Alex",
|
||||
|
||||
Reference in new issue
Block a user