Skip to content

Commit

Permalink
[BUGFIX] Used FORM_PARAMS instead of BODY for parameters (#10301)
Browse files Browse the repository at this point in the history
Co-authored-by: Ruth Cheesley <ruth.cheesley@acquia.com>
  • Loading branch information
n-azimy and RCheesley committed Aug 27, 2021
1 parent 45b4ccb commit 3100420
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/bundles/PluginBundle/Integration/AbstractIntegration.php
Expand Up @@ -826,9 +826,9 @@ public function makeRequest($url, $parameters = [], $method = 'GET', $settings =
case 'PUT':
case 'PATCH':
$result = $client->request($method, $url, [
\GuzzleHttp\RequestOptions::BODY => $parameters,
\GuzzleHttp\RequestOptions::HEADERS => $headers,
\GuzzleHttp\RequestOptions::TIMEOUT => $timeout,
\GuzzleHttp\RequestOptions::FORM_PARAMS => $parameters,
\GuzzleHttp\RequestOptions::HEADERS => $headers,
\GuzzleHttp\RequestOptions::TIMEOUT => $timeout,
]);
break;
case 'DELETE':
Expand Down

0 comments on commit 3100420

Please sign in to comment.