Skip to content

Commit

Permalink
fix gh-api issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lunaticusgreen committed Jun 25, 2024
1 parent 971aa9f commit e7b0c3e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/datasource/sql_series.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e7b0c3e

Please sign in to comment.