Skip to content

Commit b71f002

Browse files
fix(api-docs): fix deleted files returning after a publish
1 parent 7d78e29 commit b71f002

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/backend/src/db/PostgreSQLBadgeHubMetadata.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,7 @@ export class PostgreSQLBadgeHubMetadata {
370370
${fileColumnsForCopyingSql}
371371
from files
372372
where version_id = (select id from published_version)
373+
and deleted_at is null
373374
returning 1)
374375
select 1
375376
`);

0 commit comments

Comments
 (0)