diff --git a/src/onebot/network/passive-http.ts b/src/onebot/network/passive-http.ts index 4b18a1d3..278961bf 100644 --- a/src/onebot/network/passive-http.ts +++ b/src/onebot/network/passive-http.ts @@ -105,7 +105,7 @@ export class OB11PassiveHttpAdapter implements IOB11NetworkAdapter { return res.json(hello); } const actionName = req.path.split('/')[1]; - const action = this.actions.get(actionName); + const action = this.actions.get(actionName as any); if (action) { try { const result = await action.handle(payload, this.name);