From 7b5e6408f4bcdf3f7a89e017372868b254264548 Mon Sep 17 00:00:00 2001 From: Lhc_fl Date: Tue, 27 Aug 2024 11:23:46 +0800 Subject: [PATCH] typo --- lib/report_generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/report_generator.rb b/lib/report_generator.rb index 2a2fd90d..3cf27440 100644 --- a/lib/report_generator.rb +++ b/lib/report_generator.rb @@ -15,7 +15,7 @@ def self.generate(query_id, query_params, recipients, opts = {}) return [] if opts[:skip_empty] && result[:pg_result].values.empty? table = ResultToMarkdown.convert(result[:pg_result]) - build_report_pms(query, table, recipients, attach_csv:, result:) + build_report_pms(query, table, recipients, attach_csv: opts[:attach_csv], result:) end private