Skip to content

Commit

Permalink
πŸ› No longer json_encode body in POST
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonJnsson committed Jan 4, 2024
1 parent 4ae8b15 commit ed69d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Drivers/HttpEconomicDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function get(string $url, array $queryArgs = []): EconomicResponse

public function post(string $url, array $body = []): EconomicResponse
{
$response = Http::economic()->post($url, json_encode($body));
$response = Http::economic()->post($url, $body);

return new EconomicResponse($response->status(), $response->json());
}
Expand Down

0 comments on commit ed69d1d

Please sign in to comment.