mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
rename var
This commit is contained in:
parent
42c16022ac
commit
1edae1ef04
1 changed files with 2 additions and 2 deletions
|
|
@ -179,8 +179,8 @@ export class SharedLinkService extends BaseService {
|
||||||
|
|
||||||
const results: AssetIdsResponseDto[] = [];
|
const results: AssetIdsResponseDto[] = [];
|
||||||
for (const assetId of dto.assetIds) {
|
for (const assetId of dto.assetIds) {
|
||||||
const hasAsset = removedAssetIds.find((id) => id === assetId);
|
const wasRemoved = removedAssetIds.find((id) => id === assetId);
|
||||||
if (!hasAsset) {
|
if (!wasRemoved) {
|
||||||
results.push({ assetId, success: false, error: AssetIdErrorReason.NOT_FOUND });
|
results.push({ assetId, success: false, error: AssetIdErrorReason.NOT_FOUND });
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue