fix: spelling of vehicle route
This commit is contained in:
parent
fdec595981
commit
b9ae240914
1 changed files with 2 additions and 2 deletions
|
@ -2,12 +2,12 @@ export default {
|
||||||
routes: [
|
routes: [
|
||||||
{
|
{
|
||||||
method: "GET",
|
method: "GET",
|
||||||
path: "/custom/vehicle/distinct-years",
|
path: "/custom/vehicles/distinct-years",
|
||||||
handler: "api::vehicle.vehicle.distinctYears",
|
handler: "api::vehicle.vehicle.distinctYears",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
method: "GET",
|
method: "GET",
|
||||||
path: "/custom/vehicle/year/:year",
|
path: "/custom/vehicles/year/:year",
|
||||||
handler: "api::vehicle.vehicle.findByYear",
|
handler: "api::vehicle.vehicle.findByYear",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
Loading…
Add table
Reference in a new issue