refactor(server): send job command (#2777)

* refactor: send job command

* chore: open api
This commit is contained in:
Jason Rasmussen
2023-06-16 15:36:07 -04:00
committed by GitHub
parent f04e47803c
commit fde410e2ac
12 changed files with 49 additions and 44 deletions

View File

@@ -105,7 +105,7 @@
const title = jobDetails[jobId]?.title;
try {
const { data } = await api.jobApi.sendJobCommand({ jobId, jobCommandDto: jobCommand });
const { data } = await api.jobApi.sendJobCommand({ id: jobId, jobCommandDto: jobCommand });
jobs[jobId] = data;
switch (jobCommand.command) {