mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
refactor(server): send job command (#2777)
* refactor: send job command * chore: open api
This commit is contained in:
parent
f04e47803c
commit
fde410e2ac
12 changed files with 49 additions and 44 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue