diff --git a/app/models/kairos.rb b/app/models/kairos.rb index c0826eee..e7d41740 100644 --- a/app/models/kairos.rb +++ b/app/models/kairos.rb @@ -58,7 +58,7 @@ def self.query params } } ] - }] + }.compact] data = { metrics: metrics, cache_time: 0 }