From 4f09a93385a6e5a6ca9f1f3474c59496bdd625e6 Mon Sep 17 00:00:00 2001 From: Ben Wickens Date: Wed, 29 May 2024 10:57:00 +0100 Subject: [PATCH] add aps key to apns publish payload --- docs/beams/reference/publish-payloads.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/beams/reference/publish-payloads.md b/docs/beams/reference/publish-payloads.md index f75a6d1..676e6f5 100644 --- a/docs/beams/reference/publish-payloads.md +++ b/docs/beams/reference/publish-payloads.md @@ -42,9 +42,11 @@ The full set of options for the APNs section of the `notify` call is described i ```js publishToUsers(["SOME_USER"], { apns: { - alert: { - title: "You have a new message", - body: "Hi!", + aps: { + alert: { + title: "You have a new message", + body: "Hi!", + } }, data: { some: "metadata",