Skip to content

Commit 39bb125

Browse files
remove raw sql string interprolation
1 parent d4b1a71 commit 39bb125

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}->>${config.key}`)
241241
)
242242
)
243243
.groupBy(workspace.id)

0 commit comments

Comments
 (0)