docs: change event payload handling in subscribers (#8078)

This commit is contained in:
Shahed Nasser
2024-07-11 13:34:24 +03:00
committed by GitHub
parent 143847ace4
commit 02add3f0f5
8 changed files with 33 additions and 11 deletions
@@ -145,7 +145,7 @@ export default async function productCreateHandler({
to: "test@gmail.com",
channel: "email",
template: "product-created",
data: "data" in data ? data.data : data,
data: data.data,
})
}