Fixing issues discovered by tests.

This commit is contained in:
mike12345567 2023-11-07 13:37:45 +00:00
parent 49b00ee7ee
commit fdae7ab913
2 changed files with 1 additions and 2 deletions

View File

@ -923,7 +923,6 @@ describe("postgres integrations", () => {
[m2mFieldName]: [ [m2mFieldName]: [
{ {
_id: row._id, _id: row._id,
primaryDisplay: "Invalid display column",
}, },
], ],
}) })
@ -932,7 +931,6 @@ describe("postgres integrations", () => {
[m2mFieldName]: [ [m2mFieldName]: [
{ {
_id: row._id, _id: row._id,
primaryDisplay: "Invalid display column",
}, },
], ],
}) })

View File

@ -186,6 +186,7 @@ export async function fetch(tableId: string): Promise<Row[]> {
const table = await sdk.tables.getTable(tableId) const table = await sdk.tables.getTable(tableId)
return await outputProcessing<Row[]>(table, response, { return await outputProcessing<Row[]>(table, response, {
preserveLinks: true, preserveLinks: true,
squash: true,
}) })
} }