diff --git a/.gitignore b/.gitignore index c6b28ffa..fdc641b1 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,8 @@ target *.class tempsettings.xml +*.bin +*.lock +*.properties +*.prefs +.vscode/settings.json diff --git a/src/main/java/com/bandwidth/voice/controllers/APIController.java b/src/main/java/com/bandwidth/voice/controllers/APIController.java index dd338cf5..aa22d760 100644 --- a/src/main/java/com/bandwidth/voice/controllers/APIController.java +++ b/src/main/java/com/bandwidth/voice/controllers/APIController.java @@ -1143,7 +1143,7 @@ public ApiResponse getDownloadCallRecording( HttpRequest request = buildGetDownloadCallRecordingRequest(accountId, callId, recordingId); authManagers.get("voice").apply(request); - HttpResponse response = getClientInstance().execute(request, false); + HttpResponse response = getClientInstance().execute(request, true); HttpContext context = new HttpContext(request, response); return handleGetDownloadCallRecordingResponse(context); @@ -1164,7 +1164,7 @@ public CompletableFuture> getDownloadCallRecordingA recordingId), req -> authManagers.get("voice").applyAsync(req) .thenCompose(request -> getClientInstance() - .executeAsync(request, false)), + .executeAsync(request, true)), context -> handleGetDownloadCallRecordingResponse(context)); } @@ -3080,4 +3080,4 @@ private ApiResponse> handleGetQueryCallRecordingsRes return new ApiResponse>(response.getStatusCode(), response.getHeaders(), result); } -} \ No newline at end of file +}