From e7b0c3e2b68e30f56ddaa29a2c76618016645a22 Mon Sep 17 00:00:00 2001 From: Roman M Date: Tue, 25 Jun 2024 11:15:17 +0200 Subject: [PATCH] fix gh-api issue --- src/datasource/sql_series.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/datasource/sql_series.ts b/src/datasource/sql_series.ts index 2aca00276..2d5716c5b 100644 --- a/src/datasource/sql_series.ts +++ b/src/datasource/sql_series.ts @@ -293,6 +293,11 @@ export default class SqlSeries { if (keyColumns.length > 0) { metricKey = keyColumns.map((name: string) => { const value = row[name]; + + if (typeof value === 'undefined') { + return undefined; + } + if (typeof value === 'object') { return JSON.stringify(value); } else {