From d3b9256b4e05f15e6c9e6c4758fe28ad09bab584 Mon Sep 17 00:00:00 2001 From: Andy Butland Date: Mon, 27 Oct 2025 13:11:51 +0100 Subject: [PATCH] Webhooks: Reverts nullability update to continue to allow derived classes to create null payloads (#20660) * Trees: Restore backward compatibility for file system based tree controllers (closes #20602) (#20608) * Restore backward compatibility for file system based tree controllers. * Aligned obsoletion messages. * Reverts nullability update on ConvertNotificationToRequestPayload. --- src/Umbraco.Core/Webhooks/WebhookEventBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Core/Webhooks/WebhookEventBase.cs b/src/Umbraco.Core/Webhooks/WebhookEventBase.cs index b0d5e7d2e2..138ebc56fd 100644 --- a/src/Umbraco.Core/Webhooks/WebhookEventBase.cs +++ b/src/Umbraco.Core/Webhooks/WebhookEventBase.cs @@ -103,6 +103,6 @@ public abstract class WebhookEventBase : IWebhookEvent, INotifica /// /// /// - public virtual object ConvertNotificationToRequestPayload(TNotification notification) + public virtual object? ConvertNotificationToRequestPayload(TNotification notification) => notification; }