mirror of
https://github.com/strapi/strapi.git
synced 2025-09-04 14:23:03 +00:00
Remove bad example with array for method (#7972)
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
This commit is contained in:
parent
a3a77b417c
commit
42ceba9d88
@ -24,9 +24,9 @@ You have to edit the `routes.json` file in one of your APIs folders (`./api/**/c
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"method": ["POST", "PUT"],
|
"method": "PUT",
|
||||||
"path": "/restaurants/:id",
|
"path": "/restaurants/bulkUpdate",
|
||||||
"handler": "Restaurant.createOrUpdate",
|
"handler": "Restaurant.bulkUpdate",
|
||||||
"config": {
|
"config": {
|
||||||
"policies": []
|
"policies": []
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user