1
0
Fork 0
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:
Alex 2023-02-02 22:37:39 -06:00 committed by GitHub
parent 43da8c2a72
commit b019ab79f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -2707,7 +2707,7 @@
"info": {
"title": "Immich",
"description": "Immich API",
"version": "1.43.1",
"version": "1.44.0",
"contact": {}
},
"tags": [],