Skip to content

Commit

Permalink
json
Browse files Browse the repository at this point in the history
  • Loading branch information
nticaric committed Sep 24, 2018
1 parent 61cdbdf commit 7425486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TwitterRestApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function getStatusesShow($query = [])
public function postDirectMessagesNew($query)
{
$response = $this->client->post('direct_messages/events/new.json', [
'form_params' => $query
'json' => $query
])->getBody();

return json_decode($response, true);
Expand Down

0 comments on commit 7425486

Please sign in to comment.