Skip to content

Commit

Permalink
fix: 防止重复修改标题
Browse files Browse the repository at this point in the history
  • Loading branch information
rehiy committed Dec 15, 2023
1 parent 8716185 commit 2a83e67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/native/workhub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 2a83e67

Please sign in to comment.