dbm 1.4.9 → 1.4.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/BaseObject.js +1 -1
- package/node/communication/index.js +3 -1
- package/package.json +1 -1
- package/react/BaseObject.js +1 -1
package/core/BaseObject.js
CHANGED
|
@@ -44,7 +44,7 @@ export default class BaseObject extends Dbm.core.LifeCycleObject {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
addUpdateCallWhenMatched(aPropertyOrName, aMatchValue, aFunction, aArguments = []) {
|
|
47
|
-
console.log(this._propertyOrName(aPropertyOrName), aPropertyOrName, this);
|
|
47
|
+
//console.log(this._propertyOrName(aPropertyOrName), aPropertyOrName, this);
|
|
48
48
|
this._propertyOrName(aPropertyOrName).addUpdateWhenMatched(aMatchValue, this._getScopedCallFunctionCommand(aFunction, aArguments));
|
|
49
49
|
}
|
|
50
50
|
|
|
@@ -70,11 +70,13 @@ export const sendEmailTemplate = async function(aTemplateIdentifer, aTo, aKeywor
|
|
|
70
70
|
content = designKeywordReplace.replaceKeywords(mailContent);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
await sendEmail(aTo, subject, content, aFrom, aAdditionalData);
|
|
73
|
+
return await sendEmail(aTo, subject, content, aFrom, aAdditionalData);
|
|
74
74
|
}
|
|
75
75
|
else {
|
|
76
76
|
console.warn("No email template " + aTemplateIdentifer);
|
|
77
77
|
}
|
|
78
|
+
|
|
79
|
+
return null;
|
|
78
80
|
}
|
|
79
81
|
|
|
80
82
|
export const createPostmarkClient = function(aToken, aDefaultFromEmail = null) {
|
package/package.json
CHANGED
package/react/BaseObject.js
CHANGED
|
@@ -251,7 +251,7 @@ export default class BaseObject extends Component {
|
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
addUpdateCallWhenMatched(aPropertyOrName, aMatchValue, aFunction, aArguments = []) {
|
|
254
|
-
console.log(this._propertyOrName(aPropertyOrName), aPropertyOrName);
|
|
254
|
+
//console.log(this._propertyOrName(aPropertyOrName), aPropertyOrName);
|
|
255
255
|
this._propertyOrName(aPropertyOrName).addUpdateWhenMatched(aMatchValue, this._getScopedCallFunctionCommand(aFunction, aArguments));
|
|
256
256
|
}
|
|
257
257
|
}
|