1
0
forked from Cutlery/immich

better typing

This commit is contained in:
mertalev 2024-03-24 02:49:56 -04:00
parent 7e07b74406
commit 27a57a0c3a
No known key found for this signature in database
GPG Key ID: 9181CD92C0A1C5E3

View File

@ -120,7 +120,7 @@ export class StorageCore {
return path.startsWith(THUMBNAIL_DIR) || path.startsWith(ENCODED_VIDEO_DIR);
}
async moveAssetImage(asset: AssetEntity, pathType: GeneratedAssetType, format: ImageFormat) {
async moveAssetImage(asset: AssetEntity, pathType: GeneratedImageType, format: ImageFormat) {
const { id: entityId, previewPath, thumbnailPath } = asset;
return this.moveFile({
entityId,