Forgot to add in previous commit composer.ts file - bug fix in imports
This commit is contained in:
parent
a6dee41979
commit
13b7f90707
|
@ -1,10 +1,6 @@
|
||||||
import {Email} from "./email";
|
import {Email} from "./email";
|
||||||
import {Body} from "./body";
|
import {Body} from "./body";
|
||||||
import {FormArray} from "@angular/forms";
|
|
||||||
import {properties} from "../../../../environments/environment";
|
import {properties} from "../../../../environments/environment";
|
||||||
import {Stakeholder} from "../../monitor/entities/stakeholder";
|
|
||||||
import {Report} from "../../../../cache-indicators";
|
|
||||||
import {error} from "protractor";
|
|
||||||
|
|
||||||
export class Composer {
|
export class Composer {
|
||||||
private static noteBodySize = "14px";
|
private static noteBodySize = "14px";
|
||||||
|
@ -213,7 +209,7 @@ export class Composer {
|
||||||
return email;
|
return email;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static composeEmailToReportCachingProcess(report: Report) {
|
public static composeEmailToReportCachingProcess(report: any) {
|
||||||
let email: Email = new Email();
|
let email: Email = new Email();
|
||||||
email.recipients = [report.creator];
|
email.recipients = [report.creator];
|
||||||
email.subject = 'OpenAIRE | Monitor Dashboard - ' + report.name + '\'s caching process has been finished';
|
email.subject = 'OpenAIRE | Monitor Dashboard - ' + report.name + '\'s caching process has been finished';
|
||||||
|
|
Loading…
Reference in New Issue