Update perbaikan Race Controller (Ada Typo pada method show)
This commit is contained in:
parent
52f11e6f1a
commit
a8fd894168
@ -28,7 +28,7 @@ class Race extends Controller {
|
|||||||
|
|
||||||
public function show($RaceID = null) {
|
public function show($RaceID = null) {
|
||||||
try {
|
try {
|
||||||
$sql = "SELECT * FROM race WHERE RacrID = $RaceID";
|
$sql = "SELECT * FROM race WHERE RaceID = $RaceID";
|
||||||
$data = $this->db->query($sql)->getResultArray();
|
$data = $this->db->query($sql)->getResultArray();
|
||||||
|
|
||||||
return $this->respond([
|
return $this->respond([
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user