From 9dc92515a91d9e002426d3c59c9393fc73daa81a Mon Sep 17 00:00:00 2001
From: jansa <jansa@techware.in>
Date: Fri, 27 Sep 2019 10:08:22 +0530
Subject: [PATCH] changes

---
 application/models/Webservice_model.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/application/models/Webservice_model.php b/application/models/Webservice_model.php
index b7eb484..89606aa 100644
--- a/application/models/Webservice_model.php
+++ b/application/models/Webservice_model.php
@@ -294,7 +294,7 @@ class Webservice_model extends CI_Model {
             $result['review'] = $roadRvw;
         }
         $respArr['status'] = "success";
-        $respArr['data '] = $result;
+        $respArr['data'] = $result;
         return $respArr;
     }
 //Book Road Assistance
@@ -645,7 +645,7 @@ class Webservice_model extends CI_Model {
 //Get Request Accepted Garage
     public function get_requestacceptedgarage($requestId = ''){
         $respArr = array('status'=>'error'); 
-         $sql = $this->db->query("SELECT GRG.garage_id,GRG.garage_code,GRG.name,GRG.code,GRG.phone_no,GRGRES.quote_type,GRGRES.labour_cost,GRGRES.parts_cost,GRGRES.id AS garage_response_id FROM garage_response AS GRGRES INNER JOIN garage AS GRG ON (GRG.garage_id = GRGRES.garage_id) WHERE GRGRES.req_id = $requestId");
+        $sql = $this->db->query("SELECT GRG.garage_id,GRG.garage_code,GRG.name,GRG.code,GRG.phone_no,GRGRES.quote_type,GRGRES.labour_cost,GRGRES.parts_cost,GRGRES.id AS garage_response_id FROM garage_response AS GRGRES INNER JOIN garage AS GRG ON (GRG.garage_id = GRGRES.garage_id) WHERE GRGRES.req_id = $requestId");
         if(empty($sql) || empty($result = $sql->result_array())){
             $respArr['message'] = "No data Found";
             return $respArr;
--
libgit2 0.27.1