Skip to content

Commit

Permalink
bug #177 [API] Add missing "Autocomplete" serialization group (lchrus…
Browse files Browse the repository at this point in the history
…ciel)

This PR was merged into the 1.1-dev branch.

Discussion
----------

We should add this serialization group to the second product variant endpoint as well. 

Ref. #160

Based on #179

Commits
-------

f26ce33 [API] Add missing "Autocomplete" serialization group
  • Loading branch information
Zales0123 authored Oct 28, 2021
2 parents 042334c + f26ce33 commit 1f5c604
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Resources/config/app/ajax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ sylius_admin_order_creation_ajax_product_variant_by_codes:
_format: json
_sylius:
permission: true
serialization_groups: [Autocomplete]
repository:
method: findOneByCode
arguments: $code
Expand Down

0 comments on commit 1f5c604

Please sign in to comment.