We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13187af commit 2260abbCopy full SHA for 2260abb
2 files changed
aggregation_mode/gateway/src/helpers.rs
@@ -26,5 +26,5 @@ pub(crate) fn get_time_left_day_formatted() -> String {
26
let minutes = (seconds_remaining % 3600) / 60;
27
let seconds = seconds_remaining % 60;
28
29
- format!("{hours}:{minutes}:{seconds}")
+ format!("{hours}:{minutes}:{seconds} UTC")
30
}
aggregation_mode/gateway/src/http.rs
@@ -351,7 +351,7 @@ impl GatewayServer {
351
.json(AppResponse::new_unsucessfull("Invalid address", 400));
352
353
354
- let address = address_raw.to_lowercase();
+ let address = address_raw.trim().to_lowercase();
355
356
let Ok(daily_tasks_by_address) = state.db.get_daily_tasks_by_address(&address).await else {
357
return HttpResponse::InternalServerError()
0 commit comments