Fixing issues discovered by tests.
This commit is contained in:
parent
49b00ee7ee
commit
fdae7ab913
|
@ -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",
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
|
|
|
@ -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,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue