Skip to content

Commit

Permalink
fix: include arguments in command update call
Browse files Browse the repository at this point in the history
fixes #1811
  • Loading branch information
niekcandaele committed Dec 30, 2024
1 parent cef6ce8 commit a43e925
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/app-api/src/service/CommandService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ export class CommandService extends TakaroService<CommandModel, CommandOutputDTO
}),
);

return updated;
return this.findOne(id);
}

async delete(id: string) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
},
"functionId": "d92c5038-120c-410f-96ca-628e3ed6ad62",
"moduleId": "f1be9c23-2560-44e7-bdee-3d8e2ac062cd",
"versionId": "64af489a-e1ba-4b11-86f9-78139c2d0513"
"versionId": "64af489a-e1ba-4b11-86f9-78139c2d0513",
"arguments": []
}
},
"status": 200,
Expand Down

0 comments on commit a43e925

Please sign in to comment.