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 {
if (value === null) {
try {
await verifyDataAccess.removeBuildingUserVerifiedAttribute(buildingId, userId, key);
}
await verifyDataAccess.removeBuildingUserVerifiedAttribute(buildingId, userId, key);
} else {
// not verifying current value
const msg = `Attribute "${key}" with value "${value}" did not match latest saved value "${building[key]}"`;