From 7b693132f93ff064f389c50ebf1b6ffbeacd6706 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Fri, 13 Dec 2024 23:27:24 +0800 Subject: [PATCH] fix --- src/onebot/network/passive-http.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);