Fixes in subscriptions. It now passes the tests.

API tests still don't work.
This commit is contained in:
Tomas Bures 2018-01-28 23:59:05 +01:00
parent e9165838dc
commit 47b8d80c22
16 changed files with 2649 additions and 975 deletions

View file

@ -10,7 +10,8 @@ module.exports = {
getListMergeTags,
rollbackAndReleaseConnection,
filterObject,
enforce
enforce,
cleanupFromPost
};
function getDefaultMergeTags(callback) {
@ -127,4 +128,8 @@ function enforce(condition, message) {
if (!condition) {
throw new Error(message);
}
}
function cleanupFromPost(value) {
return (value || '').toString().trim();
}