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 authored and GitHub committed 2024-10-09 15:52:59 +00:00
1 parent 0e11e89233
commit aeaedc8539
2 files changed
+42 -27

No files matched your search

@@ -4,6 +4,7 @@ export const defaultAdminCollectionFields = [
"handle",
"created_at",
"updated_at",
"metadata",
]
export const retrieveTransformQueryConfig = {