mirror of
https://github.com/simstudioai/sim.git
synced 2026-10-16 14:50:06 +08:00
list/generate/delete each repeated the same /api/validate-key envelope in their route. They now share callValidateKey in lib/copilot/server/api-keys.ts, which also keeps the display masking server-side so the full key can only ever leave at creation.