Skip to content

Commit a7ea18c

Browse files
fix cleanup dispatcher
1 parent b6ae444 commit a7ea18c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/sim/lib/billing/cleanup-dispatcher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ export async function dispatchCleanupJobs(
237237
.where(
238238
and(
239239
isNull(workspace.archivedAt),
240-
isNotNull(sql`${organization.dataRetentionSettings}->${sql.raw(`'${config.key}'`)}`)
240+
isNotNull(sql`${organization.dataRetentionSettings}->>${sql.raw(`'${config.key}'`)}`)
241241
)
242242
)
243243
.groupBy(workspace.id)

0 commit comments

Comments
 (0)