Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docs casing for updateApnsProvider #1463

Merged
merged 1 commit into from
Oct 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading