diff --git a/proposal/metrics/enhancer.go b/proposal/metrics/enhancer.go index 5d302fc..61ea63f 100644 --- a/proposal/metrics/enhancer.go +++ b/proposal/metrics/enhancer.go @@ -13,6 +13,9 @@ type OracleResponses struct { } func (or *OracleResponses) Load(qualityService *quality.Service, fromCountry string) { + if len(fromCountry) != 2 { + fromCountry = "NL" + } qRes, err := qualityService.Quality(fromCountry) if err != nil { log.Error().Err(err).Msgf("Could not fetch quality for consumer (country=%s)", fromCountry)