1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-24 08:52:28 +02:00

fix(server): deletable motion assets (#4393)

This commit is contained in:
Jason Rasmussen 2023-10-08 21:36:02 -04:00 committed by GitHub
parent 0243570c0b
commit 687d896c63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -312,7 +312,7 @@ describe(MetadataService.name, () => {
type: AssetType.VIDEO,
originalFileName: assetStub.livePhotoStillAsset.originalFileName,
isVisible: false,
isReadOnly: true,
isReadOnly: false,
}),
);
expect(assetMock.save).toHaveBeenCalledWith({

View File

@ -291,7 +291,7 @@ export class MetadataService {
originalPath: this.storageCore.ensurePath(StorageFolder.ENCODED_VIDEO, asset.ownerId, `${asset.id}-MP.mp4`),
originalFileName: asset.originalFileName,
isVisible: false,
isReadOnly: true,
isReadOnly: false,
deviceAssetId: 'NONE',
deviceId: 'NONE',
});