Add "NowPlayingItemName" to skippedColumns in query results

This commit is contained in:
CyferShepard
2025-04-06 16:12:36 +02:00
parent c720e56c08
commit 1407c3d4c3
2 changed files with 2 additions and 2 deletions

View File

@@ -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) => {

View File

@@ -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) => {