diff --git a/backend/src/app/rpc/queries/files.clj b/backend/src/app/rpc/queries/files.clj index fca4e92eb..ee75e2ca8 100644 --- a/backend/src/app/rpc/queries/files.clj +++ b/backend/src/app/rpc/queries/files.clj @@ -111,11 +111,6 @@ and (ppr.is_admin = true or ppr.is_owner = true or ppr.can_edit = true) - union - select p.* - from project as p - where p.team_id = uuid_nil() - and p.deleted_at is null ) select distinct f.* from file as f