Added a postfix, see if that fixes the issue
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user