hmg65 commented on code in PR #2586:
URL: https://github.com/apache/fineract/pull/2586#discussion_r971524313
##########
fineract-provider/src/main/java/org/apache/fineract/infrastructure/campaigns/email/domain/EmailCampaign.java:
##########
@@ -192,9 +170,11 @@ public static EmailCampaign instance(final AppUser
submittedBy, final Report bus
recurrenceStartDate = null;
}
- return new EmailCampaign(campaignName, campaignType.intValue(),
businessRuleId, paramValue, emailSubject, emailMessage,
- submittedOnDate, submittedBy, stretchyReport,
stretchyReportParamMap, emailAttachmentFileFormat, recurrence,
- recurrenceStartDate);
+ return new
EmailCampaign().setCampaignName(campaignName).setCampaignType(campaignType.intValue()).setBusinessRuleId(businessRuleId)
Review Comment:
but 'status' is not there in the previous return statement. should I add it?
--
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]