From 5b5ed2273845435242092b992dc192f0640c9549 Mon Sep 17 00:00:00 2001 From: dev-chiefworks Date: Wed, 20 Apr 2022 20:41:35 -0400 Subject: [PATCH] fix --- app/Services/CoreServiceApi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/CoreServiceApi.php b/app/Services/CoreServiceApi.php index c5ec40f..9b10e48 100644 --- a/app/Services/CoreServiceApi.php +++ b/app/Services/CoreServiceApi.php @@ -11,7 +11,7 @@ public static function NodeServiceApi($url_path, $data){ $ch = curl_init(); - curl_setopt($ch, CURLOPT_URL, 'http://10.20.30.26:8000/api/v1/'.($url_path); + curl_setopt($ch, CURLOPT_URL, 'http://10.20.30.26:8000/api/v1/'.$url_path); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POST, 1); // curl_setopt($ch, CURLOPT_POSTFIELDS, "{'username':'$username','password':'$password',\"sessionid\":\"DUMMYSESSION\"}");