diff --git a/server/src/cores/storage.core.ts b/server/src/cores/storage.core.ts index 829bf5ae0..c42dae9cb 100644 --- a/server/src/cores/storage.core.ts +++ b/server/src/cores/storage.core.ts @@ -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,