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:
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user