Skip to content

Commit caf4383

Browse files
committed
DX-2611 Fix GetDownloadCallRecordingAsync to return raw result
1 parent 453786b commit caf4383

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Bandwidth.Standard/Voice/Controllers/APIController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ public async Task<ApiResponse<dynamic>> GetDownloadCallRecordingAsync(
919919
// handle errors defined at the API level.
920920
this.ValidateResponse(response, context);
921921

922-
var result = ApiHelper.JsonDeserialize<dynamic>(response.Body);
922+
var result = response.RawBody;
923923
ApiResponse<dynamic> apiResponse = new ApiResponse<dynamic>(response.StatusCode, response.Headers, result);
924924
return apiResponse;
925925
}
@@ -2420,4 +2420,4 @@ public async Task<ApiResponse<dynamic>> GetDownloadConferenceRecordingAsync(
24202420
return apiResponse;
24212421
}
24222422
}
2423-
}
2423+
}

0 commit comments

Comments
 (0)