erictgrubaugh
11/06/2018, 6:35 PMWrong parameter type: options.customRecord is expected as object. when working with render.mergeEmail?
Getting it with this code:
var template = render.mergeEmail({
templateId: params.templateId,
customRecord: {
type: "customrecord_hosting",
id: params.eventId
}
});
where params.eventId is "51" and params.templateId is "20501" (logged immediately before this statement)