Skip to content

Commit

Permalink
No change
Browse files Browse the repository at this point in the history
  • Loading branch information
EnqiZhang99 committed Nov 11, 2018
1 parent 97c7f14 commit b42562a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/leasing.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ module.exports = {
userId, complexId, aptBedroomAmount, aptBathroomAmount, callback, error
) {
// TODO: WUT DA FUC IS THIS!!!!
if (Leasing.findOne({'user_id': userId, 'complex_id': complexId}, function () {})) {
// If find
if (Leasing.findOne({ 'user_id': userId, 'complex_id': complexId }, function () {})) {
// If find
} else if (aptBedroomAmount < 0 || aptBathroomAmount < 0) {
error(new Error('room amount invalid'))
} else {
Expand Down

0 comments on commit b42562a

Please sign in to comment.