NASER remove tahesab health check for orders :/
This commit is contained in:
@@ -30,9 +30,7 @@ class SingleOrderController extends Controller
|
||||
public function store(Request $request)
|
||||
{
|
||||
$goldir = Cnt::where('key', 'goldir_closed')->first();
|
||||
$tahesab = new TahesabController();
|
||||
$healthCheck = $tahesab->healthCheck();
|
||||
if(isset($goldir) && $goldir['value'] == "true" && $healthCheck){
|
||||
if(isset($goldir) && $goldir['value'] == "true"){
|
||||
throw new UnprocessableEntityHttpException('عدم ارائه سرویس.');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user