Skip to content

Commit

Permalink
Merge branch 'main' into auth-product-page
Browse files Browse the repository at this point in the history
  • Loading branch information
thejessewinton committed Oct 29, 2024
2 parents e39e18b + 8d07503 commit ca0a515
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/routes/docs/products/messaging/apns/+page.markdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand All @@ -165,7 +165,7 @@ $client

$messaging = new Messaging($client);

$result = $messaging->updateAPNSProvider(
$result = $messaging->updateApnsProvider(
providerId: '[PROVIDER_ID]',
name: '[NAME]', // optional
enabled: false, // optional
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ca0a515

Please sign in to comment.