fix: remove express.json() middleware ref (type-only import)
This commit is contained in:
parent
0755a83283
commit
0ca9108ca8
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue