Closed fourwordsnz closed 1 month ago
Method Used: await swell.categories.get(subcategory ?? category)
await swell.categories.get(subcategory ?? category)
Issue: Expecting meta_title to be returned in the response.
Expected Response Here is an example of the response I expect via Swell Admin Console.
{ "name": "Engagement Ring Designs", "active": true, "sorting": null, "images": [ { "file": { "id": "667348ecbfbb660012d82964", "date_uploaded": "2024-06-19T21:09:00.998Z", "length": 68172, "md5": "ea019c368cf3502fe865f78e1eb0a1e1", "filename": "fourwords_collection.jpeg", "content_type": "image/jpeg", "url": "https://cdn.swell.store/fourwords/667348ecbfbb660012d82964/ea019c368cf3502fe865f78e1eb0a1e1/fourwords_collection.jpeg", "width": 960, "height": 600 }, "id": "6673491f2f41ae00128f873d" } ], "description": "...", "meta_title": "Engagement Ring Designs", "meta_description": "....", "parent_id": null, "slug": "engagement-rings", "top_id": null, "date_created": "2023-10-02T04:50:28.336Z", "date_updated": "2024-07-05T23:38:56.682Z", "id": "651a4c147a21f00012c1086c" }
Actual Response:
Below is a screenshot of the response I get via Swell.js locally.
This should be fixed now
Method Used:
await swell.categories.get(subcategory ?? category)
Issue: Expecting meta_title to be returned in the response.
Expected Response Here is an example of the response I expect via Swell Admin Console.
Actual Response:
Below is a screenshot of the response I get via Swell.js locally.