bug #11541 fixed url to send valid key for channel ()

This PR was merged into the 1.7-dev branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | master
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | 
| License         | MIT



Commits
-------

534762ca35 fixed name to channelCode since we are sending code
This commit is contained in:
Łukasz Chruściel 2020-06-02 16:19:05 +02:00 committed by GitHub
commit 356c3db238
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,7 +73,7 @@ final class DashboardController
public function getRawData(Request $request): Response
{
/** @var ChannelInterface|null $channel */
$channel = $this->findChannelByCodeOrFindFirst($request->query->get('channel'));
$channel = $this->findChannelByCodeOrFindFirst($request->query->get('channelCode'));
if (null === $channel) {
return new RedirectResponse($this->router->generate('sylius_admin_channel_create'));