Skip to content

Commit 62bc748

Browse files
bjarnefmikecp
authored andcommitted
Map webhook id property
1 parent f1db403 commit 62bc748

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Umbraco.Web.BackOffice/Mapping/WebhookMapDefinition.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Umbraco.Cms.Core.Mapping;
1+
using Umbraco.Cms.Core.Mapping;
22
using Umbraco.Cms.Core.Models;
33
using Umbraco.Cms.Core.Webhooks;
44
using Umbraco.Cms.Web.Common.Models;
@@ -21,6 +21,7 @@ private void Map(WebhookViewModel source, IWebhook target, MapperContext context
2121
target.Events = source.Events.Select(x => x.Alias).ToArray();
2222
target.Url = source.Url;
2323
target.Enabled = source.Enabled;
24+
target.Id = source.Id;
2425
target.Key = source.Key ?? Guid.NewGuid();
2526
target.Headers = source.Headers;
2627
}

0 commit comments

Comments
 (0)