mirror of
https://github.com/immich-app/immich.git
synced 2024-12-28 22:51:59 +00:00
fix(server): id of the deleted asset wasn't passed to the response (#1532)
This commit is contained in:
parent
43da8c2a72
commit
b019ab79f9
2 changed files with 2 additions and 2 deletions
|
@ -460,7 +460,7 @@ export class AssetService {
|
|||
try {
|
||||
await this._assetRepository.remove(asset);
|
||||
|
||||
result.push({ id: asset.id, status: DeleteAssetStatusEnum.SUCCESS });
|
||||
result.push({ id, status: DeleteAssetStatusEnum.SUCCESS });
|
||||
deleteQueue.push(asset as any);
|
||||
|
||||
// TODO refactor this to use cascades
|
||||
|
|
|
@ -2707,7 +2707,7 @@
|
|||
"info": {
|
||||
"title": "Immich",
|
||||
"description": "Immich API",
|
||||
"version": "1.43.1",
|
||||
"version": "1.44.0",
|
||||
"contact": {}
|
||||
},
|
||||
"tags": [],
|
||||
|
|
Loading…
Reference in a new issue