From 0ca9108ca8456df548380a713ef2109882f6b018 Mon Sep 17 00:00:00 2001 From: gitadmin Date: Sat, 2 May 2026 14:17:27 +0000 Subject: [PATCH] fix: remove express.json() middleware ref (type-only import) --- routes/steward.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/steward.ts b/routes/steward.ts index 09e0ef2..f1e7cc6 100644 --- a/routes/steward.ts +++ b/routes/steward.ts @@ -1255,7 +1255,7 @@ Then give your verdict on a new line: "Verdict: Approve", "Verdict: Flag", or "V // ── POST /api/steward/:slug/invite-co-steward ──────────────────────────── // Invite a collaborator email to co-steward this agent. // They gain access via the /my-agents portfolio magic-link flow. - app.post("/api/steward/:slug/invite-co-steward", express.json({ limit: "1mb" }), async (req: Request, res: Response) => { + app.post("/api/steward/:slug/invite-co-steward", async (req: Request, res: Response) => { if (!isAgentify(req)) return res.status(404).json({ error: "Not found" }); const { slug } = req.params; const token = req.query.token as string | undefined;