Fix build - remove stray try block

This commit is contained in:
Tom Russell 2020-08-04 16:04:17 +01:00
parent 2d6a18f81b
commit 1b3014471c

View File

@ -231,9 +231,7 @@ async function verifyBuildingAttributes(buildingId: number, userId: string, patc
} }
} else { } else {
if (value === null) { if (value === null) {
try { await verifyDataAccess.removeBuildingUserVerifiedAttribute(buildingId, userId, key);
await verifyDataAccess.removeBuildingUserVerifiedAttribute(buildingId, userId, key);
}
} else { } else {
// not verifying current value // not verifying current value
const msg = `Attribute "${key}" with value "${value}" did not match latest saved value "${building[key]}"`; const msg = `Attribute "${key}" with value "${value}" did not match latest saved value "${building[key]}"`;