Skip to content

Commit

Permalink
Fix missing parameter in example code
Browse files Browse the repository at this point in the history
  • Loading branch information
onny committed Jul 23, 2024
1 parent eceba23 commit 8a509cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Using Cloudflare's API:
```rust
// Create a new Cloudflare client
let client =
DnsUpdater::new_cloudflare("<API_TOKEN>", None::<String>)
DnsUpdater::new_cloudflare("<API_TOKEN>", None::<String>, Some(Duration::from_secs(60)))
.unwrap();

// Create a new TXT record
Expand Down

0 comments on commit 8a509cd

Please sign in to comment.