Skip to content

Commit

Permalink
Merge pull request #6 from mgralikowski/patch-1
Browse files Browse the repository at this point in the history
Update Client.php
  • Loading branch information
axotion committed Jul 16, 2018
2 parents fa051f0 + b7d9b45 commit 444964c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DotpayApi/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function makeRequest(IRequest $request)
$this->password
],
'headers' => ['content-type' => 'application/json', 'Accept' => 'application/json'],
'json' => $request->toArray()
'body' => json_encode($request->toArray(), 320)
];
return json_decode($this->client->request($request->method(),$this->base_url.$request->path(), $options)->getBody());
}
Expand Down

0 comments on commit 444964c

Please sign in to comment.