diff --git a/app/Http/Controllers/FetchLoanRemainingController.php b/app/Http/Controllers/FetchLoanRemainingController.php index 03f3471..58d8b91 100644 --- a/app/Http/Controllers/FetchLoanRemainingController.php +++ b/app/Http/Controllers/FetchLoanRemainingController.php @@ -31,7 +31,7 @@ class FetchLoanRemainingController extends Controller info([ 'response' => $response, - 'type' => gettype($response) + 'type' => gettype($response), ]); return response()->json($response); diff --git a/app/Modules/LoanRemainingOrder/Actions/FetchRemainingLoanFromBilling.php b/app/Modules/LoanRemainingOrder/Actions/FetchRemainingLoanFromBilling.php index 50a60f7..5888ea8 100644 --- a/app/Modules/LoanRemainingOrder/Actions/FetchRemainingLoanFromBilling.php +++ b/app/Modules/LoanRemainingOrder/Actions/FetchRemainingLoanFromBilling.php @@ -48,6 +48,7 @@ class FetchRemainingLoanFromBilling CURLOPT_HTTPHEADER => [ 'Authorization: Basic dGJ1c2VyOlFBWndzeDEyMw==', 'Content-Type: application/json', + 'Accept: application/json', ], ]);