Bagisto REST API provides powerful and flexible endpoints to manage e-commerce operations, including products, orders, customers, and more.
21
stars
24
forks
source link
Duplicate routes in Bagisto and Rest API #372
Open
JelleGroenendal opened 3 weeks ago
We noticed a duplicate route naming with a clean install of Bagisto and Bagisto Rest API
packages/Webkul/Admin/src/Routes/reporting-routes.php Line 19: admin.reporting.customers.stats Line 34: admin.reporting.products.stats
vendor/bagisto/rest-api/src/Routes/V1/Admin/reporting-routes.php Line 26: admin.reporting.customers.stats Line 33: admin.reporting.products.stats
When we run php artisan optimize it results in:
In AbstractRouteCollection.php line 247:
Unable to prepare route [reporting/customers/stats] for serialization. Another route has already been assigned name [admin.reporting.customers.stats].
Failed to run artisan optimize: exit status 1