Use proper query parameters

This commit is contained in:
2024-12-15 12:34:50 -05:00
parent 24c2e86396
commit 58155ff838
2 changed files with 71 additions and 40 deletions

View File

@@ -29,7 +29,7 @@ async fn main() {
}
let d = CreateDatapoint::new(1.0)
.with_comment("Test datapoint")
.with_comment("Test #hashtag datapoint")
.with_requestid("unique-id-42");
match client.create_datapoint("me", "meditation", &d).await {
Ok(datapoint) => println!("Added: {datapoint:#?}"),