root 4 years ago
parent
commit
a21b6722a1
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      app/Http/Controllers/Api/RestfulapiController.php

+ 4
- 2
app/Http/Controllers/Api/RestfulapiController.php View File

@@ -191,16 +191,18 @@ class RestfulapiController extends BaseController

}

dd($all_data);

return $this->sendResponse($data, 'Result Found');

}else {

return $this->sendResponse('', 'No Result');
}

}else{

return $this->sendError('Invalid Api Key', '');
}

}else{
return $this->sendError('Invalid Api Key', '');
}

Loading…
Cancel
Save