PR feedback

This commit is contained in:
Steve Walsh 2021-07-13 18:25:05 +01:00
parent 3596c030c8
commit 4a9002afa5

View File

@ -94,7 +94,6 @@ module.exports = class PayloadValidator {
* @returns
*/
ensureOrganizationNotModified(after) {
try {
variablesToCheck.forEach((location) => {
const beforeValue = this.getValue(this.before, location);
const afterValue = this.getValue(after, location);
@ -109,10 +108,7 @@ module.exports = class PayloadValidator {
}
}
});
} catch (e) {
console.log('Error while trying to verify variable changes');
console.log(e);
}
return after;
}