From 1b3014471c99301f1b1f2c01cac6317b68109dd3 Mon Sep 17 00:00:00 2001 From: Tom Russell Date: Tue, 4 Aug 2020 16:04:17 +0100 Subject: [PATCH] Fix build - remove stray try block --- app/src/api/services/building.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/api/services/building.ts b/app/src/api/services/building.ts index 4176efb6..3bb4bd55 100644 --- a/app/src/api/services/building.ts +++ b/app/src/api/services/building.ts @@ -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]}"`;