diff --git a/send.go b/send.go index 31eb517..151f76c 100644 --- a/send.go +++ b/send.go @@ -86,7 +86,6 @@ func IsValidInput(webhookMessage MessageCard, webhookURL string) (bool, error) { // IsValidWebhookURL performs validation checks on the webhook URL used to // submit messages to Microsoft Teams. func IsValidWebhookURL(webhookURL string) (bool, error) { - switch { case strings.HasPrefix(webhookURL, WebhookURLOfficecomPrefix): case strings.HasPrefix(webhookURL, WebhookURLOffice365Prefix):