docs: fix create category curl example (#3962)

* Fix create category curl example

Fix trailing comma on category create example

* Update create-product-category.ts

Fix trailing comma example

* Update manage-categories.mdx

remove trailing comma

* Revert

* Update manage-categories.mdx

Fix curl example
This commit is contained in:
Leon Alvarez Del Canto
2023-05-03 14:36:09 +03:00
committed by GitHub
parent 9838723192
commit 6c0dcc20c9
2 changed files with 2 additions and 2 deletions
@@ -195,7 +195,7 @@ curl -L -X POST '<BACKEND_URL>/admin/product-categories' \
-H 'Authorization: Bearer <API_TOKEN>' \
-H 'Content-Type: application/json' \
--data-raw '{
"name": "Skinny Jeans",
"name": "Skinny Jeans"
}'
```
@@ -43,7 +43,7 @@ import { FindParams } from "../../../../types/common"
* --header 'Authorization: Bearer {api_token}' \
* --header 'Content-Type: application/json' \
* --data-raw '{
* "name": "Skinny Jeans",
* "name": "Skinny Jeans"
* }'
* security:
* - api_token: []