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.
This commit is contained in:
@@ -103,6 +103,6 @@ public abstract class WebhookEventBase<TNotification> : IWebhookEvent, INotifica
|
||||
/// </summary>
|
||||
/// <param name="notification"></param>
|
||||
/// <returns></returns>
|
||||
public virtual object ConvertNotificationToRequestPayload(TNotification notification)
|
||||
public virtual object? ConvertNotificationToRequestPayload(TNotification notification)
|
||||
=> notification;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user