fix(core): update

This commit is contained in:
Philipp Kunz 2020-01-13 15:52:02 +00:00
parent 6bb3bb7d9a
commit 8be9fc38b6

View File

@ -22,6 +22,10 @@ export class Smartmail<T> {
this.attachments.push(smartfileArg);
}
public getCretionObject(): T {
return this.options.creationObjectRef;
}
public getSubject(dataArg: any = {}) {
const smartmustache = new plugins.smartmustache.SmartMustache(this.options.subject);
return smartmustache.applyData(dataArg);