mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 15:11:58 +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 {
|
try {
|
||||||
await this._assetRepository.remove(asset);
|
await this._assetRepository.remove(asset);
|
||||||
|
|
||||||
result.push({ id: asset.id, status: DeleteAssetStatusEnum.SUCCESS });
|
result.push({ id, status: DeleteAssetStatusEnum.SUCCESS });
|
||||||
deleteQueue.push(asset as any);
|
deleteQueue.push(asset as any);
|
||||||
|
|
||||||
// TODO refactor this to use cascades
|
// TODO refactor this to use cascades
|
||||||
|
|
|
@ -2707,7 +2707,7 @@
|
||||||
"info": {
|
"info": {
|
||||||
"title": "Immich",
|
"title": "Immich",
|
||||||
"description": "Immich API",
|
"description": "Immich API",
|
||||||
"version": "1.43.1",
|
"version": "1.44.0",
|
||||||
"contact": {}
|
"contact": {}
|
||||||
},
|
},
|
||||||
"tags": [],
|
"tags": [],
|
||||||
|
|
Loading…
Reference in a new issue