Fix 2nd cubic review

Signed-off-by: Émile Ré <nemile.re@gmail.com>
This commit is contained in:
Émile Ré
2025-12-11 14:27:10 +01:00
parent 1ed291aa0e
commit 78d7207403
2 changed files with 6 additions and 14 deletions

View File

@@ -83,9 +83,7 @@ SELECT
document_id,
report_id,
trust_center_file_id,
active,
status,
requested,
created_at,
updated_at
FROM
@@ -134,9 +132,7 @@ SELECT
document_id,
report_id,
trust_center_file_id,
active,
status,
requested,
created_at,
updated_at
FROM
@@ -186,9 +182,7 @@ SELECT
document_id,
report_id,
trust_center_file_id,
active,
status,
requested,
created_at,
updated_at
FROM

View File

@@ -106,16 +106,14 @@ func (f *TrustCenterFiles) LoadByIDs(
SELECT
id,
organization_id,
bucket_name,
mime_type,
file_name,
file_key,
file_size,
name,
category,
file_id,
trust_center_visibility,
created_at,
updated_at,
deleted_at
updated_at
FROM
files
trust_center_files
WHERE
%s
AND id = ANY(@ids);