docs: rename data to event in subscribers across docs (#8149)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-07-16 17:12:05 +01:00
1 parent f579f0b3be
commit f73ca97ecc
7 files changed
+38 -38

No files matched your search

@@ -264,12 +264,13 @@ export const workflowHighlights = [
import createProductWorkflow from "../workflows/create-product"
export default async function handleProductUpdate({
data, container
event: { data },
container
}: SubscriberArgs<{id: string}>) {
createProductWorkflow(container)
.run({
input: {
productId: data.data.id
productId: data.id
}
})
.then(() => {