File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
servers/fdr/src/controllers/docs/v2 Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -270,20 +270,7 @@ export function getDocsWriteV2Service(app: FdrApplication): DocsV2WriteService {
270270 )
271271 )
272272 ) . filter ( isNonNullish ) ;
273- const apiDefinitionsLatest = (
274- await Promise . all (
275- dbDocsDefinition . referencedApis . map (
276- async ( id ) => await app . services . db . getApiLatestDefinition ( id )
277- )
278- )
279- ) . filter ( isNonNullish ) ;
280273
281- const apiDefinitionsById = Object . fromEntries (
282- apiDefinitions . map ( ( definition ) => [ definition . id , definition ] )
283- ) ;
284- const apiDefinitionsLatestById = Object . fromEntries (
285- apiDefinitionsLatest . map ( ( definition ) => [ definition . id , definition ] )
286- ) ;
287274 const warmEndpointCachePromises = apiDefinitions . flatMap (
288275 ( apiDefinition ) => {
289276 return Object . entries ( apiDefinition . subpackages ) . flatMap (
You can’t perform that action at this time.
0 commit comments