Fetch relationships on external row find
This commit is contained in:
parent
66524d998b
commit
88c68cfe58
|
@ -125,7 +125,9 @@ export async function save(ctx: UserCtx) {
|
|||
export async function find(ctx: UserCtx): Promise<Row> {
|
||||
const id = ctx.params.rowId
|
||||
const tableId = utils.getTableId(ctx)
|
||||
const row = await sdk.rows.external.getRow(tableId, id)
|
||||
const row = await sdk.rows.external.getRow(tableId, id, {
|
||||
relationships: true,
|
||||
})
|
||||
|
||||
if (!row) {
|
||||
ctx.throw(404)
|
||||
|
|
Loading…
Reference in New Issue