Skip to content

Commit

Permalink
Fix notifications history data resolving
Browse files Browse the repository at this point in the history
  • Loading branch information
norkunas committed Nov 27, 2019
1 parent 825f4b6 commit 695b53f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Notifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public function history($id, array $data)
{
$url = '/notifications/'.$id.'/history?app_id='.$this->api->getConfig()->getApplicationId();

$data = $this->resolverFactory->createNotificationResolver()->resolve($data);
$data = $this->resolverFactory->createNotificationHistoryResolver()->resolve($data);

return $this->api->request('POST', $url, [
'Authorization' => 'Basic '.$this->api->getConfig()->getApplicationAuthKey(),
Expand Down

0 comments on commit 695b53f

Please sign in to comment.