removed unnused code placed during testing steps

This commit is contained in:
Carlos Jimenez 2018-01-23 16:41:28 +01:00
parent d5661cfb13
commit 108fb92d73
1 changed files with 1 additions and 2 deletions

View File

@ -32,9 +32,8 @@ module.exports = function(Client) {
Client.addressesPropagateRe = (id, data, callback) => {
if (data.hasOwnProperty('isEqualizated')) {
Client.app.models.Address.updateAll({clientFk: id}, data, (err, info) => {
if (err) {
if (err)
return callback(err, null);
}
callback(null, true);
});
} else {