Skip to content

Commit a3c0f3f

Browse files
authored
Merge pull request #4 from kratkyzobak/patch-1
Fixed - trying to read HTTP response twice.
2 parents 41bf176 + 1cc4a35 commit a3c0f3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MailQ/Resources/NotificationResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function getNotificationsData($notificationId, $email)
8989
$data = Json::decode($response->getContent());
9090
$json = new stdClass();
9191
$json->notifications = $data;
92-
return new NotificationsDataEntity($response->getContent());
92+
return new NotificationsDataEntity($json);
9393
}
9494

9595

0 commit comments

Comments
 (0)