Skip to content

Commit d3b9256

Browse files
authored
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.
1 parent 399431b commit d3b9256

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Core/Webhooks/WebhookEventBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,6 @@ public async Task HandleAsync(TNotification notification, CancellationToken canc
103103
/// </summary>
104104
/// <param name="notification"></param>
105105
/// <returns></returns>
106-
public virtual object ConvertNotificationToRequestPayload(TNotification notification)
106+
public virtual object? ConvertNotificationToRequestPayload(TNotification notification)
107107
=> notification;
108108
}

0 commit comments

Comments
 (0)