fix: review fixes for MCP and API key feature

- Remove spurious ALTER TABLE client_targets DROP DEFAULT from migration
  (Prisma schema drift side-effect unrelated to this PR)
- Surface revoke errors in ApiKeysPage UI via deleteApiKey.isError
- Fix UpdateProjectInput.color type to allow null, removing unsafe cast
  in the update_project MCP tool handler
This commit is contained in:
simon.franken
2026-03-16 15:35:06 +01:00
parent 64211e6a49
commit a7ab55932f
4 changed files with 13 additions and 15 deletions

View File

@@ -1,6 +1,3 @@
-- AlterTable
ALTER TABLE "client_targets" ALTER COLUMN "working_days" DROP DEFAULT;
-- CreateTable
CREATE TABLE "api_keys" (
"id" TEXT NOT NULL,