diff options
| author | Adam Soltys <[email protected]> | 2026-06-18 07:41:21 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-18 08:27:11 -0700 |
| commit | fbf0c4f45249875b0b95eeb1beedd811b176a245 (patch) | |
| tree | 9f46283758b23e973ba7fd6f0bc1dd15f1cd8083 /scripts/analytics.ts | |
| parent | 290acb73beff82762572d6eb69c6297bf7d88af7 (diff) | |
| download | coinos-server-fbf0c4f45249875b0b95eeb1beedd811b176a245.tar.gz coinos-server-fbf0c4f45249875b0b95eeb1beedd811b176a245.zip | |
scripts: add dedup-invoices cleanup for already-duplicated :invoices
The source fix (LPOS guard in generate()) stops NEW duplicate entries but
doesn't remove the ones already accumulated. This one-time script scrubs
them: scans every <id>:invoices list and removes duplicate ids, keeping
each id's original creation-order position. Dry-run by default; pass
--apply to write. Idempotent.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'scripts/analytics.ts')
0 files changed, 0 insertions, 0 deletions
