Skip to content

Commit c03edf9

Browse files
fix test
1 parent 7afc894 commit c03edf9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/sim/lib/table/service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1654,8 +1654,8 @@ export async function updateRow(
16541654
.where(whereClause)
16551655
.returning({ id: userTableRows.id })
16561656

1657-
if (updated.length === 0) {
1658-
// Guard rejected — DB already shows the cancelled state for this run.
1657+
// Only meaningful when a guard is set — `null` signals "guard rejected".
1658+
if (guard && updated.length === 0) {
16591659
return null
16601660
}
16611661

0 commit comments

Comments
 (0)