refactor: event manager (#25481)

* refactor: event manager

* fix: broken downloadFile endpoint
This commit is contained in:
Jason Rasmussen
2026-01-23 18:02:23 -05:00
committed by GitHub
parent b52e8cd570
commit 4fedae4150
16 changed files with 45 additions and 116 deletions
+6 -6
View File
@@ -601,15 +601,15 @@ where
-- AssetRepository.getForThumbnail
select
"asset_file"."path",
"asset"."originalPath",
"asset"."originalFileName"
"asset"."originalFileName",
"asset_file"."path" as "path"
from
"asset_file"
right join "asset" on "asset"."id" = "asset_file"."assetId"
"asset"
left join "asset_file" on "asset"."id" = "asset_file"."assetId"
and "asset_file"."type" = $1
where
"asset_file"."assetId" = $1
and "asset_file"."type" = $2
"asset"."id" = $2
order by
"asset_file"."isEdited" desc