Make Safelink event replay idempotent (#11524)

This commit is contained in:
Austin McKinley
2026-08-20 13:38:00 -07:00
committed by GitHub
parent 21a2c3d6f2
commit 34f38c827d
2 changed files with 104 additions and 32 deletions
+1
View File
@@ -137,6 +137,7 @@ export class SafelinkClient {
action: rule.action,
createdAt: rule.createdAt,
})
.onConflict(oc => oc.column('id').doNothing())
.execute()
.catch(err => {
redirectLogger.error(