Describe the bug
$router->get('/events/{event_id}/products', GetProductsAction::class); not working
\HiEvents\Services\Domain\Product\ProductFilterService::filter expects parameter: Collection ofProductCategoryDomainObject $productsCategories but Collection of ProductDomainObject given.
To Reproduce
Steps to reproduce the behavior:
- Login
- Go to /api/events/1/products (expect event to exist)
- See error
Expected behavior
api endpoint api/events/1/products gives products of event.
Logs
No laravel logs provided.
Desktop (please complete the following information):
Hi.Events Version and platform
HiEventsDev/hi.events-digitalocean
Describe the bug
$router->get('/events/{event_id}/products', GetProductsAction::class); not working
\HiEvents\Services\Domain\Product\ProductFilterService::filter expects parameter: Collection ofProductCategoryDomainObject $productsCategories but Collection of ProductDomainObject given.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
api endpoint api/events/1/products gives products of event.
Logs
No laravel logs provided.
Desktop (please complete the following information):
Hi.Events Version and platform
HiEventsDev/hi.events-digitalocean