mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 22:04:21 +01:00
Use snippet anchor instead of line range
This commit is contained in:
@@ -2,9 +2,11 @@ use anyhow::Result;
|
||||
use breez_sdk_core::*;
|
||||
|
||||
async fn retrieve_backup_files() -> Result<()> {
|
||||
// ANCHOR: static-channel-backup
|
||||
let backup_data = BreezServices::static_backup(StaticBackupRequest {
|
||||
working_dir: "<working directory>".into(),
|
||||
})?;
|
||||
// ANCHOR_END: static-channel-backup
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user