We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6ae444 commit a7ea18cCopy full SHA for a7ea18c
1 file changed
apps/sim/lib/billing/cleanup-dispatcher.ts
@@ -237,7 +237,7 @@ export async function dispatchCleanupJobs(
237
.where(
238
and(
239
isNull(workspace.archivedAt),
240
- isNotNull(sql`${organization.dataRetentionSettings}->${sql.raw(`'${config.key}'`)}`)
+ isNotNull(sql`${organization.dataRetentionSettings}->>${sql.raw(`'${config.key}'`)}`)
241
)
242
243
.groupBy(workspace.id)
0 commit comments