fix: getMedia unsupported method

This commit is contained in:
2026-09-16 05:10:07 +08:00
parent 78faf2b070
commit 881ce919aa
+4
View File
@@ -203,6 +203,10 @@ wss.on("connection", (ws) => {
result = await call("sendText", request.params); result = await call("sendText", request.params);
break; break;
case "getMedia":
result = await call("getMedia", request.params);
break;
default: default:
throw new Error(`Unsupported method: ${(request as any).method}`); throw new Error(`Unsupported method: ${(request as any).method}`);
} }