We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7afc894 commit c03edf9Copy full SHA for c03edf9
1 file changed
apps/sim/lib/table/service.ts
@@ -1654,8 +1654,8 @@ export async function updateRow(
1654
.where(whereClause)
1655
.returning({ id: userTableRows.id })
1656
1657
- if (updated.length === 0) {
1658
- // Guard rejected — DB already shows the cancelled state for this run.
+ // Only meaningful when a guard is set — `null` signals "guard rejected".
+ if (guard && updated.length === 0) {
1659
return null
1660
}
1661
0 commit comments