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(())