mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-22 17:48:25 +00:00
feat(asset): replace mediaType/mimeType logic with proxyType
This commit is contained in:
@@ -43,6 +43,7 @@ export async function transcodeImageWorkflow(task: WorkflowTask): Promise<void>
|
||||
const mediaInfo = await executeActivity(workerQueue, getMediaInfoActivity, {
|
||||
filePath,
|
||||
assetId: asset.id,
|
||||
proxyType: 'image',
|
||||
mediaType: asset.mediaType || '',
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user