From 21f3e98d69cf4d6fa916d01d1892ae5b41490fad Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Thu, 8 May 2025 20:29:17 +0500 Subject: [PATCH] test --- app/Http/Controllers/FetchLoanRemainingController.php | 2 +- .../Actions/FetchRemainingLoanFromBilling.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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', ], ]);