Added a postfix, see if that fixes the issue

This commit is contained in:
2021-06-28 22:46:37 +02:00
parent c7c8c26598
commit 2d1d7149f8

View File

@@ -100,7 +100,7 @@ mod handlers {
let temperature = locations[location];
let label = Label::with_value(format!("{}", temperature));
let label = Label::with_value(format!("{}", temperature)).set_postfix("foobar");
Ok(warp::reply::json(&label))
}