diff --git a/src/DotNetCore.CAP/CAP.Options.cs b/src/DotNetCore.CAP/CAP.Options.cs index 334c709..9c4a872 100644 --- a/src/DotNetCore.CAP/CAP.Options.cs +++ b/src/DotNetCore.CAP/CAP.Options.cs @@ -29,7 +29,7 @@ namespace DotNetCore.CAP /// /// We’ll send a POST request to the URL below with details of any subscribed events. /// - public WebHook WebHook { get; set; } + public WebHook WebHook => throw new NotSupportedException(); /// /// Registers an extension that will be executed when building services.