This commit is contained in:
手瓜一十雪
2024-12-13 23:27:24 +08:00
parent 3c3114b6ab
commit 7b693132f9

View File

@@ -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);