mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 05:44:20 +01:00
Add snippets
This commit is contained in:
@@ -6,7 +6,7 @@ use breez_sdk_core::*;
|
||||
|
||||
async fn webhook(sdk: Arc<BreezServices>) -> Result<()> {
|
||||
// ANCHOR: register-webook
|
||||
sdk.register_webhook("https://yourapplication.com").await?
|
||||
sdk.register_webhook("https://yourapplication.com").await?
|
||||
// ANCHOR_END: register-webook
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user