3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-04 15:05:42 +00:00

move endpoint

This commit is contained in:
Godfrey M
2026-01-05 12:31:00 -08:00
parent 201c4fa0d9
commit 2a60b7b7b2

View File

@ -286,8 +286,10 @@ trait Loggable
];
if(Setting::getSettings()->webhook_selected === 'microsoft' && Str::contains(Setting::getSettings()->webhook_endpoint, 'workflows')) {
try {
$endpoint = Setting::getSettings()->webhook_endpoint;
try {
$message = AuditNotification::toMicrosoftTeams($params);
$notification = new TeamsNotification($endpoint);