Skip to content

🐛500 response route: /events/{event_id}/products #1268

Description

@GhostMonkeyFPS

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:

  1. Login
  2. Go to /api/events/1/products (expect event to exist)
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions