Added an empty constructor to ProcessEmailNotificationEvent
continuous-integration/drone/pr Build is passing

This commit is contained in:
Khwezi Mngoma
2026-05-15 23:52:38 +02:00
parent a31f75c5ef
commit e978aa17f8
@@ -8,6 +8,8 @@ public class ProcessEmailNotificationsEvent : EventBase, IEvent
public int MaxRecords { get; set; }
public ProcessEmailNotificationsEvent() { MaxRecords = 1000; }
private ProcessEmailNotificationsEvent(int maxRecords = 1000) => MaxRecords = maxRecords;
public static ProcessEmailNotificationsEvent Create(int maxRecords = 1000) => new(maxRecords);