Geeks-Solutions / nuxt-sections

MIT License
2 stars 1 forks source link

Adjustment to be done on sections payload due to the changes done by Julien #53

Closed akramsarkis closed 2 months ago

akramsarkis commented 2 months ago
Payload sent for a section when saving a page - [ ] Actually you are sending a payload with dynamic section with options{} you cannot save the page you can remove it Here the payload you are sending for product details as it is the one I saw the problem for: ```` { "page": "product", "path": "product", "metadata": { "en": { "title": "", "description": "" }, "fr": { "title": "", "description": "" } }, "variations": [], "layout": "standard", "sections": [ { "id": "66bdd5fc7a126f0007856241", "weight": 0, "name": "65684fd5919fff00073c18eb:product_details", "type": "dynamic", "region": {}, "options": {} }, { "weight": 1, "linked_to": "Global instance header" }, { "weight": 2, "linked_to": "Global instance footer" } ], "query_string": { "page_path": "product", "product_id": "217" } } ````

Acceptance testing

Payload sent for a section when saving a page - [ ] Actually you are sending a payload with dynamic section with options{} you cannot save the page you can remove it
akramsarkis commented 2 months ago

now good, closing