fix(server): jobs using stale path (#2233)
* fix(server): jobs using stale path * fixed test * pr feedback
This commit is contained in:
@@ -119,7 +119,11 @@ export class MediaService {
|
||||
}
|
||||
|
||||
async handleVideoConversion(job: IAssetJob) {
|
||||
const { asset } = job;
|
||||
const [asset] = await this.assetRepository.getByIds([job.asset.id]);
|
||||
|
||||
if (!asset) {
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
const input = asset.originalPath;
|
||||
|
||||
Reference in New Issue
Block a user