mirror of
https://github.com/strapi/strapi.git
synced 2025-09-01 12:53: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"],
|
||||
"path": "/restaurants/:id",
|
||||
"handler": "Restaurant.createOrUpdate",
|
||||
"method": "PUT",
|
||||
"path": "/restaurants/bulkUpdate",
|
||||
"handler": "Restaurant.bulkUpdate",
|
||||
"config": {
|
||||
"policies": []
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user