diff options
author | Akash Keshav <112591754+domesticchores@users.noreply.github.com> | 2025-03-17 22:58:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-17 22:58:15 -0400 |
commit | 49b1dab1d6619515e270944dee6efb4eb3cde4df (patch) | |
tree | c148b5e8c834ee3aa07e68280976719861387885 /ufund-api | |
parent | e9950afde68bb6e5e659ac182334bf2b18088f90 (diff) | |
parent | b5797b53eddf5a52ea9bbd8f3c638edd678407ab (diff) | |
download | JellySolutions-49b1dab1d6619515e270944dee6efb4eb3cde4df.tar.gz JellySolutions-49b1dab1d6619515e270944dee6efb4eb3cde4df.tar.bz2 JellySolutions-49b1dab1d6619515e270944dee6efb4eb3cde4df.zip |
Merge pull request #12 from RIT-SWEN-261-02/need-page-rework-rework
Need page rework rework -> main pull request
Diffstat (limited to 'ufund-api')
-rw-r--r-- | ufund-api/data/cupboard.json | 2 | ||||
-rw-r--r-- | ufund-api/src/main/java/com/ufund/api/ufundapi/model/Need.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ufund-api/data/cupboard.json b/ufund-api/data/cupboard.json index cc85335..abc2293 100644 --- a/ufund-api/data/cupboard.json +++ b/ufund-api/data/cupboard.json @@ -1 +1 @@ -[{"name":"Jellyfish Hats","id":26,"maxGoal":10.0,"type":"MONETARY","filterAttributes":[],"Current":0.0},{"name":"Pollution Re-Filtering","id":27,"maxGoal":1.0E7,"type":"MONETARY","filterAttributes":[],"Current":0.0},{"name":"Coral re-re-habilitation","id":28,"maxGoal":10000.0,"type":"MONETARY","filterAttributes":[],"Current":0.0}]
\ No newline at end of file +[{"name":"Jellyfish Hats","id":26,"maxGoal":10.0,"type":"MONETARY","filterAttributes":["#savethejellyfish","Clothing","Storefront"],"current":0.0},{"name":"Pollution Re-Filtering","id":27,"maxGoal":1.0E7,"type":"MONETARY","filterAttributes":["Cleanup","Donations","Third-Party"],"current":0.0},{"name":"Coral re-re-habilitation","id":28,"maxGoal":10000.0,"type":"MONETARY","filterAttributes":["Preservation","#savethecoral","#helloPhil"],"current":0.0}]
\ No newline at end of file diff --git a/ufund-api/src/main/java/com/ufund/api/ufundapi/model/Need.java b/ufund-api/src/main/java/com/ufund/api/ufundapi/model/Need.java index 9ca097a..c0e9214 100644 --- a/ufund-api/src/main/java/com/ufund/api/ufundapi/model/Need.java +++ b/ufund-api/src/main/java/com/ufund/api/ufundapi/model/Need.java @@ -14,7 +14,7 @@ public class Need { @JsonProperty("filterAttributes") private String[] filterAttributes; @JsonProperty("type") final private GoalType type; @JsonProperty("maxGoal") private double maxGoal; - @JsonProperty("Current") private double current; + @JsonProperty("current") private double current; /** * Create a new need |