A free open source IT asset/license management system
Merge branch 'develop' into refacto_ms_teams_notifs
Godfrey Md6ba303f39c6
diff --cc app/Notifications/CheckoutAssetNotification.phpindex 771251ab45,97706cec94..83011e5c8e--- a/app/Notifications/CheckoutAssetNotification.php+++ b/app/Notifications/CheckoutAssetNotification.php@@@ -8,10 -8,9 +8,10 @@@ use App\Models\Settinguse App\Models\User;use Exception;use Illuminate\Bus\Queueable;- use Illuminate\Notifications\Messages\MailMessage;+ use Illuminate\Notifications\Channels\SlackWebhookChannel;use Illuminate\Notifications\Messages\SlackMessage;use Illuminate\Notifications\Notification;+use Illuminate\Support\Str;use NotificationChannels\GoogleChat\Card;use NotificationChannels\GoogleChat\Enums\Icon;use NotificationChannels\GoogleChat\Enums\ImageStyle;@@@ -71,9 -64,9 +68,9 @@@ class CheckoutAssetNotification extend$notifyBy[] = GoogleChatChannel::class;}- if (Setting::getSettings()->webhook_selected == 'microsoft' && Setting::getSettings()->webhook_endpoint) {+ if (Setting::getSettings()->webhook_selected === 'microsoft' && Setting::getSettings()->webhook_endpoint) {- $notifyBy[] = MicrosoftTeamsChannel::class;+ $notifyBy[] = TeamsNotification::class;}