From f31c42117e373bc164d9fde840a5ae1a93fdc29c Mon Sep 17 00:00:00 2001 From: Tim Cowlishaw Date: Thu, 14 Nov 2024 12:36:03 +0100 Subject: [PATCH] fix kairos error whne no limit provided --- app/models/kairos.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }