mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 05:44:20 +01:00
fix swift snippet
This commit is contained in:
@@ -15,6 +15,6 @@ func webhook(sdk: BlockingBreezServices) throws {
|
|||||||
|
|
||||||
func paymentWebhook(sdk: BlockingBreezServices) {
|
func paymentWebhook(sdk: BlockingBreezServices) {
|
||||||
// ANCHOR: register-payment-webook
|
// ANCHOR: register-payment-webook
|
||||||
sdk.registerWebhook(webhookUrl: "https://your-nds-service.com/notify?platform=ios&token=<PUSH_TOKEN>").await?
|
sdk.registerWebhook(webhookUrl: "https://your-nds-service.com/notify?platform=ios&token=<PUSH_TOKEN>")
|
||||||
// ANCHOR_END: register-payment-webook
|
// ANCHOR_END: register-payment-webook
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user