Skip to content

Commit 40573b7

Browse files
author
a.laurowski
authored
FFWEB-2207:Fix trigger import for 7.x
1 parent 1fdb9ff commit 40573b7

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# Changelog
2+
## Unreleased
3+
### Fixed
4+
- Import
5+
- Standard adapter does not use query parameters
6+
27
## [v0.9.1] - 2021.04.07
38
### Fixed
49
- Import

src/Resource/Standard/ImportAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function __construct(ClientInterface $client)
2121
public function import(string $channel, string $type, array $params = []): array
2222
{
2323
$params = ['channel' => $channel, 'type' => ['search' => 'data'][$type] ?? $type, 'format' => 'json'] + $params;
24-
$resp = $this->client->request('GET', 'Import.ff', $params);
24+
$resp = $this->client->request('GET', 'Import.ff', ['query' => $params]);
2525
return json_decode((string) $resp->getBody(), true);
2626
}
2727

0 commit comments

Comments
 (0)