Use table for get before row

This commit is contained in:
Adria Navarro 2024-12-16 17:01:02 +01:00
parent df62845cf9
commit 740069ea78
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ export async function patch(ctx: UserCtx<PatchRowRequest, PatchRowResponse>) {
throw { validation: validateResult.errors }
}
const beforeRow = await sdk.rows.external.getRow(sourceId, _id, {
const beforeRow = await sdk.rows.external.getRow(table._id!, _id, {
relationships: true,
})