Skip to content

Commit

Permalink
Merge pull request #2 from sumocoders/refactor-fix
Browse files Browse the repository at this point in the history
Fix sending post requests
  • Loading branch information
tijsverkoyen authored Nov 24, 2022
2 parents 5f6de7d + 6aa5ff0 commit eb252be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Teamleader.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ private function doRequest(string $method, string $uri, array $parameters = []):
}

$body = $this->streamFactory->createStream($encodedParameters);
$request->withBody($body);
$request = $request->withBody($body);
}

$response = $this->client->sendRequest($request);
Expand Down

0 comments on commit eb252be

Please sign in to comment.