adamsaghy commented on code in PR #5956:
URL: https://github.com/apache/fineract/pull/5956#discussion_r3374490851
##########
fineract-core/src/main/java/org/apache/fineract/notification/data/NotificationData.java:
##########
@@ -43,4 +44,16 @@ public class NotificationData implements Serializable {
private String createdAt;
private Long officeId;
private Set<Long> userIds;
+
+ public NotificationData(final Long id, final String objectType, final Long
objectId, final Long actorId, final String action,
+ final String content, final boolean isSystemGenerated, final
LocalDateTime createdAt) {
+ this.id = id;
+ this.objectType = objectType;
+ this.objectId = objectId;
+ this.actorId = actorId;
+ this.action = action;
+ this.content = content;
+ this.isSystemGenerated = isSystemGenerated;
+ this.createdAt = createdAt == null ? null : createdAt.toString();
Review Comment:
created at date cannot be `null`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]