From 2a83e67bf9bcd3c5fa77e37ac2adb331d44f677c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=A5=E6=B5=B7?= Date: Fri, 15 Dec 2023 23:32:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=98=B2=E6=AD=A2=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=87=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/native/workhub.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/native/workhub.ts b/src/api/native/workhub.ts index fb82a10..95d29b1 100644 --- a/src/api/native/workhub.ts +++ b/src/api/native/workhub.ts @@ -20,7 +20,7 @@ export class WorkhubModel extends HttpClient { } public exec(id: string, rq: ScriptPayload): Promise<{ Id: number }> { - rq.Name = 'Exec: ' + rq.Name; + rq = { ...rq, Name: 'Exec: ' + rq.Name }; return this.post('/workhub/exec/' + id, rq); }