fix: add metadata to collection resp (#9514)

**What**
- Adds `metadata` to the default response for `/admin/collection` endpoints.
- Fixes tests to expect correct shape and not use objectContaining.

Fixes CC-551
This commit is contained in:
Sebastian Rindom
2024-10-09 17:52:59 +02:00
committed by GitHub
parent 0e11e89233
commit aeaedc8539
2 changed files with 42 additions and 27 deletions
@@ -4,6 +4,7 @@ export const defaultAdminCollectionFields = [
"handle",
"created_at",
"updated_at",
"metadata",
]
export const retrieveTransformQueryConfig = {