aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/edu/brown/cs/student/term/profit/ProfitCalculation.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/edu/brown/cs/student/term/profit/ProfitCalculation.java b/src/main/java/edu/brown/cs/student/term/profit/ProfitCalculation.java
index b4bf708..0b86172 100644
--- a/src/main/java/edu/brown/cs/student/term/profit/ProfitCalculation.java
+++ b/src/main/java/edu/brown/cs/student/term/profit/ProfitCalculation.java
@@ -246,7 +246,7 @@ public class ProfitCalculation {
e.printStackTrace();
}
-
+ System.out.println(response.body());
JSONObject object = new JSONObject(response.body());
try {
double price = object.getJSONObject("last").getDouble("price");