fix: withFilePath select edited or unedited file (#27328)

* fix: withFilePath select edited or unedited file

* chore: test
This commit is contained in:
Brandon Wees
2026-04-01 07:19:38 -05:00
committed by GitHub
parent 4ef777d145
commit c29493e3a0
6 changed files with 43 additions and 19 deletions
+4 -3
View File
@@ -637,13 +637,14 @@ select
"asset_file"
where
"asset_file"."assetId" = "asset"."id"
and "asset_file"."type" = $1
and "asset_file"."type" = 'encoded_video'
and "asset_file"."isEdited" = false
) as "encodedVideoPath"
from
"asset"
where
"asset"."id" = $2
and "asset"."type" = $3
"asset"."id" = $1
and "asset"."type" = $2
-- AssetRepository.getForOcr
select