docs: fix events payloads (#14131)

This commit is contained in:
Shahed Nasser
2025-11-26 16:12:00 +02:00
committed by GitHub
parent c1ede88a7e
commit c3cebdfe80
139 changed files with 1057 additions and 904 deletions

View File

@@ -234,12 +234,12 @@ export default async function inviteCreatedHandler({
export const config: SubscriberConfig = {
event: [
"invite.created",
"invite.resend",
"invite.resent",
],
}
```
This subscriber listens for the `invite.created` and `invite.resend` events. When triggered, it:
This subscriber listens for the `invite.created` and `invite.resent` events. When triggered, it:
1. Retrieves the store name and invite details.
2. Constructs the invite URL. Invites to the admin dashboard are at the `/admin/invite` path and include the invite token as a `token` query parameter.