From 2d1d7149f8fdcf9da687ce10d9e6a6c28a4b2994 Mon Sep 17 00:00:00 2001 From: Anders Olsson Date: Mon, 28 Jun 2021 22:46:37 +0200 Subject: [PATCH] Added a postfix, see if that fixes the issue --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index c2eedf3..d52f0b4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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)) }