Fix build - remove stray try block
This commit is contained in:
parent
2d6a18f81b
commit
1b3014471c
@ -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]}"`;
|
||||||
|
Loading…
Reference in New Issue
Block a user