mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
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:
commit
356c3db238
1 changed files with 1 additions and 1 deletions
|
|
@ -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'));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue