mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
feat: add pause/resume functionality for API keys (#158)
- Add isActive field to API key schema with migration - Implement PUT /api/keys/[id] endpoint for toggle - Update validation to reject paused keys (403) - Add UI toggle controls with confirmation - Ensure cloud sync preserves pause state
This commit is contained in:
@@ -362,6 +362,7 @@ erDiagram
|
||||
string name
|
||||
string key
|
||||
string machineId
|
||||
boolean isActive
|
||||
}
|
||||
|
||||
USAGE_ENTRY {
|
||||
|
||||
Reference in New Issue
Block a user