fix(core): update
This commit is contained in:
parent
6bb3bb7d9a
commit
8be9fc38b6
@ -22,6 +22,10 @@ export class Smartmail<T> {
|
|||||||
this.attachments.push(smartfileArg);
|
this.attachments.push(smartfileArg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public getCretionObject(): T {
|
||||||
|
return this.options.creationObjectRef;
|
||||||
|
}
|
||||||
|
|
||||||
public getSubject(dataArg: any = {}) {
|
public getSubject(dataArg: any = {}) {
|
||||||
const smartmustache = new plugins.smartmustache.SmartMustache(this.options.subject);
|
const smartmustache = new plugins.smartmustache.SmartMustache(this.options.subject);
|
||||||
return smartmustache.applyData(dataArg);
|
return smartmustache.applyData(dataArg);
|
||||||
|
Loading…
Reference in New Issue
Block a user