File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
aggregation_mode/gateway/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,5 +26,5 @@ pub(crate) fn get_time_left_day_formatted() -> String {
2626 let minutes = ( seconds_remaining % 3600 ) / 60 ;
2727 let seconds = seconds_remaining % 60 ;
2828
29- format ! ( "{hours}:{minutes}:{seconds}" )
29+ format ! ( "{hours}:{minutes}:{seconds} UTC " )
3030}
Original file line number Diff line number Diff line change @@ -351,7 +351,7 @@ impl GatewayServer {
351351 . json ( AppResponse :: new_unsucessfull ( "Invalid address" , 400 ) ) ;
352352 }
353353
354- let address = address_raw. to_lowercase ( ) ;
354+ let address = address_raw. trim ( ) . to_lowercase ( ) ;
355355
356356 let Ok ( daily_tasks_by_address) = state. db . get_daily_tasks_by_address ( & address) . await else {
357357 return HttpResponse :: InternalServerError ( )
You can’t perform that action at this time.
0 commit comments