diff --git a/src/WebHooks/Components/WebHookComponent.cs b/src/WebHooks/Components/WebHookComponent.cs index 4cf3f9d10..2a2e6da86 100644 --- a/src/WebHooks/Components/WebHookComponent.cs +++ b/src/WebHooks/Components/WebHookComponent.cs @@ -21,7 +21,7 @@ public class WebHookComponent : SnComponent public override void AddPatches(PatchBuilder builder) { builder - .Install("0.0.2", "2021-03-16", "sensenet WebHooks") + .Install("0.0.3", "2021-03-17", "sensenet WebHooks") .DependsOn("SenseNet.Services", "7.7.19") .Action(context => { @@ -44,7 +44,7 @@ public override void AddPatches(PatchBuilder builder) #endregion }); - builder.Patch("0.0.1", "0.0.2", "2021-03-16", "Upgrades the WebHook component") + builder.Patch("0.0.1", "0.0.3", "2021-03-17", "Upgrades the WebHook component") .DependsOn("SenseNet.Services", "7.7.19") .Action(context => { @@ -85,13 +85,16 @@ public override void AddPatches(PatchBuilder builder) .FieldIndex(90) .Field("IsValid") .FieldIndex(30) + .VisibleBrowse(FieldVisibility.Hide) .Field("InvalidFields") .RemoveConfiguration("FieldIndex") .VisibleBrowse(FieldVisibility.Hide) .VisibleEdit(FieldVisibility.Hide) .VisibleNew(FieldVisibility.Hide) .Field("SuccessfulCalls") - .FieldIndex(20); + .FieldIndex(20) + .Field("WebHookHttpMethod") + .DefaultValue("POST"); cb.Apply(); diff --git a/src/WebHooks/SenseNet.WebHooks.csproj b/src/WebHooks/SenseNet.WebHooks.csproj index 8ff76adb1..1fd3bc5e6 100644 --- a/src/WebHooks/SenseNet.WebHooks.csproj +++ b/src/WebHooks/SenseNet.WebHooks.csproj @@ -2,7 +2,7 @@ netstandard2.0 - 0.0.2 + 0.0.3 kavics,aniko,tusmester Sense/Net Inc. Copyright © Sense/Net Inc.