We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3411a10 commit 5209974Copy full SHA for 5209974
src/MailQ/Resources/NotificationResource.php
@@ -29,13 +29,11 @@ public function createNotification(NotificationEntity $notification)
29
}
30
31
/**
32
- *
33
* @param NotificationEntity $notification
34
- * @param int $notificationId
35
*/
36
- public function updateNotification(NotificationEntity $notification, $notificationId)
+ public function updateNotification(NotificationEntity $notification)
37
{
38
- $request = Request::put("{$this->getCompanyId()}/notifications/{$notificationId}");
+ $request = Request::put("{$this->getCompanyId()}/notifications/{$notification->getId()}");
39
$request->setContentAsEntity($notification);
40
$this->getConnector()->sendRequest($request);
41
0 commit comments