diff --git a/backend/classes/db-helper.js b/backend/classes/db-helper.js index 2e2d16f..917bcbd 100644 --- a/backend/classes/db-helper.js +++ b/backend/classes/db-helper.js @@ -160,7 +160,7 @@ async function query({ const countResult = await client.query(countQuery, values); const totalRows = parseInt(countResult.rows.length > 0 ? countResult.rows[0].count : 0, 10); - const skippedColumns = ["Name"]; + const skippedColumns = ["Name", "NowPlayingItemName"]; // Convert integer fields in the result rows const convertedRows = result.rows.map((row) => { return Object.keys(row).reduce((acc, key) => { diff --git a/backend/db.js b/backend/db.js index ed35a8b..9b01065 100644 --- a/backend/db.js +++ b/backend/db.js @@ -180,7 +180,7 @@ async function query(text, params, refreshViews = false) { } } - const skippedColumns = ["Name"]; + const skippedColumns = ["Name", "NowPlayingItemName"]; // Convert integer fields in the result rows const convertedRows = result.rows.map((row) => { return Object.keys(row).reduce((acc, key) => {