1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 08:31:59 +00: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',
});