fix harga emas
This commit is contained in:
@@ -19,7 +19,7 @@ class HargaEmasController extends Controller
|
|||||||
|
|
||||||
$karat_string = str_replace('-','.',$karat);
|
$karat_string = str_replace('-','.',$karat);
|
||||||
|
|
||||||
$harga_emas = HargaEmas::on('mysql7')->select('harga2')->where('karat','=',$karat_string)->first();
|
$harga_emas = HargaEmas::on('mysql7')->select('harga')->where('karat','=',$karat_string)->first();
|
||||||
|
|
||||||
return response()->json($harga_emas);
|
return response()->json($harga_emas);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user