From 95be80511edd3f569fde68947e9b06503d1e4da8 Mon Sep 17 00:00:00 2001 From: Roei Erez Date: Thu, 14 Dec 2023 11:03:11 +0200 Subject: [PATCH] fix swift snippet --- snippets/swift/BreezSDKExamples/Sources/Webhook.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/swift/BreezSDKExamples/Sources/Webhook.swift b/snippets/swift/BreezSDKExamples/Sources/Webhook.swift index ded8320..f166d67 100644 --- a/snippets/swift/BreezSDKExamples/Sources/Webhook.swift +++ b/snippets/swift/BreezSDKExamples/Sources/Webhook.swift @@ -13,7 +13,7 @@ func webhook(sdk: BlockingBreezServices) throws { // ANCHOR_END: register-webook } -func paymentWebhook(sdk: BlockingBreezServices) { +func paymentWebhook(sdk: BlockingBreezServices) throws { // ANCHOR: register-payment-webook try sdk.registerWebhook(webhookUrl: "https://your-nds-service.com/notify?platform=ios&token=") // ANCHOR_END: register-payment-webook