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