diff options
author | sowgro <tpoke.ferrari@gmail.com> | 2025-04-05 14:37:01 -0400 |
---|---|---|
committer | sowgro <tpoke.ferrari@gmail.com> | 2025-04-05 14:37:01 -0400 |
commit | c2e7b170bfa0678a6ff4576d07388778f30084b0 (patch) | |
tree | 57fc334bea1bc15f8b971d499338497dd3fa7388 /ufund-api/src/main/java/com/ufund/api/ufundapi/controller/CupboardController.java | |
parent | 7cedd8713d30fedcc9fc486a49d4804f37ab8765 (diff) | |
parent | 0103ffc6f84d04433943c644ab759c1d04b5e681 (diff) | |
download | JellySolutions-c2e7b170bfa0678a6ff4576d07388778f30084b0.tar.gz JellySolutions-c2e7b170bfa0678a6ff4576d07388778f30084b0.tar.bz2 JellySolutions-c2e7b170bfa0678a6ff4576d07388778f30084b0.zip |
Merge branch 'main' into need-image
# Conflicts:
# ufund-ui/src/app/components/need-list/need-list.component.ts
# ufund-ui/src/app/components/need-page/need-page.component.html
Diffstat (limited to 'ufund-api/src/main/java/com/ufund/api/ufundapi/controller/CupboardController.java')
-rw-r--r-- | ufund-api/src/main/java/com/ufund/api/ufundapi/controller/CupboardController.java | 2 |
1 files changed, 1 insertions, 1 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 075878a..5452c81 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 @@ -198,7 +198,7 @@ public class CupboardController { for (Map<String, Integer> map : data) { int needID = map.get("needID"); if (cupboardService.getNeed(needID) == null) { - return new ResponseEntity<>("One or more need is invalid, please refresh.", HttpStatus.BAD_REQUEST); + return new ResponseEntity<>("One or more needs are invalid, please refresh.", HttpStatus.BAD_REQUEST); } } for (Map<String, Integer> map : data) { |