mirror of
https://github.com/immich-app/immich.git
synced 2025-01-06 03:46:47 +01:00
fix(server): deletable motion assets (#4393)
This commit is contained in:
parent
0243570c0b
commit
687d896c63
2 changed files with 2 additions and 2 deletions
|
@ -312,7 +312,7 @@ describe(MetadataService.name, () => {
|
||||||
type: AssetType.VIDEO,
|
type: AssetType.VIDEO,
|
||||||
originalFileName: assetStub.livePhotoStillAsset.originalFileName,
|
originalFileName: assetStub.livePhotoStillAsset.originalFileName,
|
||||||
isVisible: false,
|
isVisible: false,
|
||||||
isReadOnly: true,
|
isReadOnly: false,
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
expect(assetMock.save).toHaveBeenCalledWith({
|
expect(assetMock.save).toHaveBeenCalledWith({
|
||||||
|
|
|
@ -291,7 +291,7 @@ export class MetadataService {
|
||||||
originalPath: this.storageCore.ensurePath(StorageFolder.ENCODED_VIDEO, asset.ownerId, `${asset.id}-MP.mp4`),
|
originalPath: this.storageCore.ensurePath(StorageFolder.ENCODED_VIDEO, asset.ownerId, `${asset.id}-MP.mp4`),
|
||||||
originalFileName: asset.originalFileName,
|
originalFileName: asset.originalFileName,
|
||||||
isVisible: false,
|
isVisible: false,
|
||||||
isReadOnly: true,
|
isReadOnly: false,
|
||||||
deviceAssetId: 'NONE',
|
deviceAssetId: 'NONE',
|
||||||
deviceId: 'NONE',
|
deviceId: 'NONE',
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue