fix swift snippet

This commit is contained in:
Roei Erez
2023-12-14 11:03:11 +02:00
parent 86063bee31
commit 95be80511e

View File

@@ -13,7 +13,7 @@ func webhook(sdk: BlockingBreezServices) throws {
// ANCHOR_END: register-webook // ANCHOR_END: register-webook
} }
func paymentWebhook(sdk: BlockingBreezServices) { func paymentWebhook(sdk: BlockingBreezServices) throws {
// ANCHOR: register-payment-webook // ANCHOR: register-payment-webook
try sdk.registerWebhook(webhookUrl: "https://your-nds-service.com/notify?platform=ios&token=<PUSH_TOKEN>") try sdk.registerWebhook(webhookUrl: "https://your-nds-service.com/notify?platform=ios&token=<PUSH_TOKEN>")
// ANCHOR_END: register-payment-webook // ANCHOR_END: register-payment-webook