diff --git a/feeds/index.ts b/feeds/index.ts --- a/feeds/index.ts +++ b/feeds/index.ts @@ -92,7 +92,7 @@ .from("documents") .select( `*, - documents_in_publications!inner(publications!inner(*))`, + documents_in_publications(publications(*))`, ) .or( "record->preferences->showInDiscover.is.null,record->preferences->>showInDiscover.eq.true",