From 7c7f6ec7cc118a9b86a3d495891a081b702955cf Mon Sep 17 00:00:00 2001 From: Ebenezer Don Date: Mon, 28 Oct 2024 15:28:42 +0000 Subject: [PATCH] fix casing for updateApnsProvider --- .../docs/products/messaging/apns/+page.markdoc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/routes/docs/products/messaging/apns/+page.markdoc b/src/routes/docs/products/messaging/apns/+page.markdoc index bff97432f1..9ca3bf2921 100644 --- a/src/routes/docs/products/messaging/apns/+page.markdoc +++ b/src/routes/docs/products/messaging/apns/+page.markdoc @@ -115,7 +115,7 @@ client .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; -const provider = await messaging.updateAPNSProvider( +const provider = await messaging.updateApnsProvider( '[PROVIDER_ID]', // providerId '[NAME]', // name (optional) false, // enabled (optional) @@ -139,7 +139,7 @@ client .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; -const provider = await messaging.updateAPNSProvider( +const provider = await messaging.updateApnsProvider( '[PROVIDER_ID]', // providerId '[NAME]', // name (optional) false, // enabled (optional) @@ -165,7 +165,7 @@ $client $messaging = new Messaging($client); -$result = $messaging->updateAPNSProvider( +$result = $messaging->updateApnsProvider( providerId: '[PROVIDER_ID]', name: '[NAME]', // optional enabled: false, // optional @@ -235,7 +235,7 @@ var client = new Client() var messaging = new Messaging(client); -Provider result = await messaging.UpdateAPNSProvider( +Provider result = await messaging.updateApnsProvider( providerId: "[PROVIDER_ID]" name: "[NAME]" // optional enabled: false // optional @@ -259,7 +259,7 @@ void main() { // Init SDK .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; - Future result = messaging.updateAPNSProvider( + Future result = messaging.updateApnsProvider( providerId: '[PROVIDER_ID]', name: '[NAME]', // optional enabled: false, // optional @@ -289,7 +289,7 @@ Client client = new Client() Messaging messaging = new Messaging(client); -messaging.updateAPNSProvider( +messaging.updateApnsProvider( "[PROVIDER_ID]", // providerId "[NAME]", // name (optional) false, // enabled (optional) @@ -319,7 +319,7 @@ Client client = new Client() Messaging messaging = new Messaging(client); -messaging.updateAPNSProvider( +messaging.updateApnsProvider( "[PROVIDER_ID]", // providerId "[NAME]", // name (optional) false, // enabled (optional) @@ -347,7 +347,7 @@ let client = Client() let messaging = Messaging(client) -let provider = try await messaging.updateAPNSProvider( +let provider = try await messaging.updateApnsProvider( providerId: "[PROVIDER_ID]", name: "[NAME]", // optional enabled: xfalse, // optional