aboutsummaryrefslogtreecommitdiff
path: root/ufund-api
diff options
context:
space:
mode:
authorAkash Keshav <112591754+domesticchores@users.noreply.github.com>2025-03-18 16:53:44 -0400
committerAkash Keshav <112591754+domesticchores@users.noreply.github.com>2025-03-18 16:53:44 -0400
commit24ff80e67b365909ba391174cb0553f821ec33c4 (patch)
tree367897e3c6fb2ffc98162d117aebf8d63a57d6b6 /ufund-api
parent81b93fc671ba35d67c414937e18b686fd6d5f861 (diff)
parent20f717cab504a988ef8da4b34acf8ef7a7adfdd7 (diff)
downloadJellySolutions-24ff80e67b365909ba391174cb0553f821ec33c4.tar.gz
JellySolutions-24ff80e67b365909ba391174cb0553f821ec33c4.tar.bz2
JellySolutions-24ff80e67b365909ba391174cb0553f821ec33c4.zip
Merge branch 'funding_basket' of https://github.com/RIT-SWEN-261-02/team-project-2245-swen-261-02-2b-jellysolutions into funding_basket
Diffstat (limited to 'ufund-api')
-rw-r--r--ufund-api/src/main/java/com/ufund/api/ufundapi/controller/CupboardController.java2
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 bf3d917..36ae341 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
@@ -50,7 +50,7 @@ public class CupboardController {
public ResponseEntity<Need> createNeed(@RequestBody Map<String, Object> params) {
System.out.println(params);
String name = (String) params.get("name");
- int maxGoal = (int) params.get("maxGoal");
+ double maxGoal = (double) params.get("maxGoal");
Need.GoalType goalType = GoalType.valueOf((String) params.get("type"));
try {