Move collection description rendering to JSON (#6944)
* First pass, moving collection description rendering to JSON * tsc * docs * refactor * test
This commit is contained in:
@@ -1172,7 +1172,7 @@ router.post(
|
||||
documents.map((document) => presentDocument(ctx, document))
|
||||
),
|
||||
collections: await Promise.all(
|
||||
collections.map((collection) => presentCollection(collection))
|
||||
collections.map((collection) => presentCollection(ctx, collection))
|
||||
),
|
||||
},
|
||||
policies: collectionChanged ? presentPolicies(user, documents) : [],
|
||||
|
||||
Reference in New Issue
Block a user