diff options
| author | Adam Soltys <[email protected]> | 2026-07-30 19:47:00 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-07-30 19:47:00 -0700 |
| commit | c21685559ee814e95cb37a5660c73762a8db12c9 (patch) | |
| tree | 3cb190c87374d2214f474cca71b18fdfc2484b50 /scripts/analytics-geo.ts | |
| parent | 1d48335f47bbb673b89b42a9ef2984eaae7b02d2 (diff) | |
| download | coinos-server-c21685559ee814e95cb37a5660c73762a8db12c9.tar.gz coinos-server-c21685559ee814e95cb37a5660c73762a8db12c9.zip | |
nwc: guard missing app record in the notification loop
A pubkey can be in `${uid}:apps` before its `app:<pubkey>` record is written
(NWC-connection creation race) or can outlive its record. Destructuring `notify`
off the null lookup threw, and since the catch wraps the whole loop it aborted
notifications for ALL of the user's apps. Skip null/absent apps and continue.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Diffstat (limited to 'scripts/analytics-geo.ts')
0 files changed, 0 insertions, 0 deletions
