mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-01 04:42:10 +03:00
deletePool now runs a SQLite json_each UPDATE inside the existing transaction to remove the pool's id from every api_key's allowed_quotas JSON array, preventing stale pool references after deletion. Tests: tests/unit/quota-pool-delete-prune.test.ts (7 scenarios).