Skip to content

Commit

Permalink
Merge pull request #584 from Altinity/issue-503
Browse files Browse the repository at this point in the history
fix gh-api issue
  • Loading branch information
Slach authored Jun 25, 2024
2 parents 971aa9f + e7b0c3e commit ce12dab
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 ce12dab

Please sign in to comment.