Skip to content

Commit c517934

Browse files
Exclude deleted crate owners from admin tool output (#10780)
1 parent a84e6c0 commit c517934

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bin/crates-admin/delete_crate.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ fn owners_subquery() -> SqlLiteral<Array<Text>> {
191191
LEFT JOIN teams ON teams.id = crate_owners.owner_id
192192
LEFT JOIN users ON users.id = crate_owners.owner_id
193193
WHERE crate_owners.crate_id = crates.id
194+
AND crate_owners.deleted = 'f'
194195
)
195196
"#)
196197
}

0 commit comments

Comments
 (0)