merge
This commit is contained in:
commit
bb75fd783c
|
@ -34,7 +34,7 @@ module.exports = function(Address) {
|
|||
removeAllDefault(address.client);
|
||||
next();
|
||||
}
|
||||
else if (address.default && !data.default)
|
||||
else if (address.default && data.hasOwnProperty('default') && !data.default)
|
||||
next(generateErrorDefaultAddress());
|
||||
else
|
||||
next();
|
||||
|
|
Loading…
Reference in New Issue