docs: fix SendGrid's dynamic_template_data property (#5112)

This commit is contained in:
Shahed Nasser
2023-09-18 15:06:09 +03:00
committed by GitHub
parent 254ae8d07f
commit a161f689b9
8 changed files with 9 additions and 9 deletions

View File

@@ -184,7 +184,7 @@ class ClaimOrderSubscriber {
templateId: "order-claim-confirmation",
from: "hello@medusajs.com",
to: data.old_email,
data: {
dynamic_template_data: {
link: `http://example.com/confirm-order-claim/${data.token}`,
// other data...
},

View File

@@ -241,7 +241,7 @@ class OrderConfirmationSubscriber {
templateId: "order-confirmation",
from: "hello@medusajs.com",
to: order.email,
data: {
dynamic_template_data: {
// any data necessary for your template...
items: order.items,
status: order.status,