1
0
Fork 0
mirror of synced 2024-08-04 21:02:01 +12:00

Fix tests

This commit is contained in:
Adria Navarro 2024-06-07 11:30:35 +02:00
parent b22ea1b0f9
commit 20d1b81099

View file

@ -62,7 +62,7 @@ export async function patch(ctx: UserCtx<PatchRowRequest, PatchRowResponse>) {
})
// The id might have been changed, so the refetching would fail. Recalculating the id just in case
const updatedId = generateIdForRow({ _id, ...dataToUpdate }, table)
const updatedId = generateIdForRow(ctx.request.body, table)
const row = await sdk.rows.external.getRow(tableId, updatedId, {
relationships: true,
})