Skip to content

A free open source IT asset/license management system

removed unused variabl

Godfrey M947351af6716
diff --git a/app/Listeners/CheckoutableListener.php b/app/Listeners/CheckoutableListener.php
index 79a4774776..0651df197b 100644
--- a/app/Listeners/CheckoutableListener.php
+++ b/app/Listeners/CheckoutableListener.php
@@ -181,7 +181,7 @@ class CheckoutableListener
$notification->success()->sendMessage($message[0], $message[1]); // Send the message to Microsoft Teams
} else {
Notification::route(Setting::getSettings()->webhook_selected, Setting::getSettings()->webhook_endpoint)
- ->notify($this->getCheckinNotification($event, $acceptance));
+ ->notify($this->getCheckinNotification($event));
}
}
} catch (ClientException $e) {