From b0de9e00a418d5ddec1008d2c501b885433154ca Mon Sep 17 00:00:00 2001 From: Aaron H Date: Tue, 28 Jul 2020 18:09:05 -0400 Subject: [PATCH] Bug fix Files may not have uploaded correctly. --- BunnyCDN/src/BCDNStorage.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/BunnyCDN/src/BCDNStorage.java b/BunnyCDN/src/BCDNStorage.java index a5fbcec..0e1b801 100644 --- a/BunnyCDN/src/BCDNStorage.java +++ b/BunnyCDN/src/BCDNStorage.java @@ -10,7 +10,7 @@ public class BCDNStorage extends Exception { - private String VERSION = "1.0.2"; + private String VERSION = "1.0.3"; private String BASE_URL = "https://storage.bunnycdn.com"; private String nameOfZone; private String apiKey; @@ -118,6 +118,8 @@ private String sendRequest(String url, String method, File arg, boolean arg2, St } break; } + // Forgot to call the request.... + req.getResponseCode(); return resp.toString(); }