Lint spacing

This commit is contained in:
Tom Russell 2019-02-24 19:28:11 +00:00
parent 4fc4d314fd
commit 2d8b62fb84
8 changed files with 166 additions and 169 deletions

View File

@ -161,7 +161,6 @@ function saveBuilding(building_id, building, user_id) {
});
});
}).catch(function (error) {
// TODO report transaction error as 'Need to re-fetch building before update'
console.error(error);
return { error: error };
});
@ -209,7 +208,6 @@ function likeBuilding(building_id, user_id) {
});
});
}).catch(function (error) {
// TODO report transaction error as 'Need to re-fetch building before update'
console.error(error);
if (error.detail && error.detail.includes("already exists")) {
// 'already exists' is thrown if user already liked it
@ -262,7 +260,6 @@ function unlikeBuilding(building_id, user_id) {
});
});
}).catch(function (error) {
// TODO report transaction error as 'Need to re-fetch building before update'
console.error(error);
if (error.detail && error.detail.includes("already exists")) {
// 'already exists' is thrown if user already liked it