From c5b43c1e002b7ab9810b51abd936c31ac315e746 Mon Sep 17 00:00:00 2001 From: Roei Erez Date: Thu, 14 Dec 2023 11:47:40 +0200 Subject: [PATCH] fix rust code --- snippets/rust/src/webhook.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snippets/rust/src/webhook.rs b/snippets/rust/src/webhook.rs index 0f82936..d92eaac 100644 --- a/snippets/rust/src/webhook.rs +++ b/snippets/rust/src/webhook.rs @@ -4,7 +4,7 @@ use breez_sdk_core::*; async fn webhook(sdk: Arc) -> Result<()> { // ANCHOR: register-webook - sdk.register_webhook("https://yourapplication.com").await? + sdk.register_webhook("https://yourapplication.com").await?; // ANCHOR_END: register-webook Ok(()) @@ -12,7 +12,7 @@ async fn webhook(sdk: Arc) -> Result<()> { async fn payment_webhook(sdk: Arc) -> Result<()> { // ANCHOR: register-payment-webook - sdk.register_webhook("https://your-nds-service.com/notify?platform=ios&token=").await? + sdk.register_webhook("https://your-nds-service.com/notify?platform=ios&token=").await?; // ANCHOR_END: register-payment-webook Ok(())