Skip to content

Commit

Permalink
fix instance
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamJY committed Jun 26, 2024
1 parent bf376f6 commit a8fa939
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Http/Controllers/Shop/BagistoShiprocketController.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ public function getEstimatedDelivery(Request $request)
'cod' => 0
]);

//$data = $this->shiprocketApi->getEstimatedDelivery($request);
$shiprocketApi = new Shiprocket;
$data = $shiprocketApi->getEstimatedDelivery($request);
return response()->json($data);
Expand Down Expand Up @@ -194,7 +193,8 @@ public function checkPincodeAvailability(Request $request)
'cod' => 0
]);

$data = $this->shiprocketApi->getEstimatedDelivery($request);
$shiprocketApi = new Shiprocket;
$data = $shiprocketApi->getEstimatedDelivery($request);
return response()->json($data);
}
}

0 comments on commit a8fa939

Please sign in to comment.