Fix: error express

This commit is contained in:
unitwk 2022-10-21 19:59:48 +08:00
parent 31ecb382a9
commit f8385e818f

View File

@ -146,7 +146,7 @@ router.post(
const serviceUuid = String(ctx.query.remote_uuid); const serviceUuid = String(ctx.query.remote_uuid);
const instanceUuid = String(ctx.query.uuid); const instanceUuid = String(ctx.query.uuid);
const taskName = String(ctx.query.task_name); const taskName = String(ctx.query.task_name);
const parameter = ctx.body; const parameter = ctx.request.body;
const remoteService = RemoteServiceSubsystem.getInstance(serviceUuid); const remoteService = RemoteServiceSubsystem.getInstance(serviceUuid);
const result = await new RemoteRequest(remoteService).request("instance/asynchronous", { const result = await new RemoteRequest(remoteService).request("instance/asynchronous", {
instanceUuid, instanceUuid,