From 695b53f433dcc35f6cce2fd692e9d0ffa2ca4f23 Mon Sep 17 00:00:00 2001 From: Tomas Date: Wed, 27 Nov 2019 12:35:34 +0200 Subject: [PATCH] Fix notifications history data resolving --- src/Notifications.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Notifications.php b/src/Notifications.php index f953c78..ddbf61e 100644 --- a/src/Notifications.php +++ b/src/Notifications.php @@ -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(),