diff options
Diffstat (limited to 'ufund-api/src/main/java')
| -rw-r--r-- | ufund-api/src/main/java/com/ufund/api/ufundapi/controller/CupboardController.java | 3 | 
1 files changed, 0 insertions, 3 deletions
diff --git a/ufund-api/src/main/java/com/ufund/api/ufundapi/controller/CupboardController.java b/ufund-api/src/main/java/com/ufund/api/ufundapi/controller/CupboardController.java index 4b2a04d..faaa98a 100644 --- a/ufund-api/src/main/java/com/ufund/api/ufundapi/controller/CupboardController.java +++ b/ufund-api/src/main/java/com/ufund/api/ufundapi/controller/CupboardController.java @@ -46,9 +46,6 @@ public class CupboardController {              if (need.getMaxGoal() <= 0) {                  return new ResponseEntity<>(HttpStatus.BAD_REQUEST);              } -            if (need.getMaxGoal() < need.getCurrent()) { -                return new ResponseEntity<>(HttpStatus.BAD_REQUEST); -            }              cupboardDAO.createNeed(need);              return new ResponseEntity<>(need, HttpStatus.OK);          } catch (IOException ex) {  | 
