mirror of
https://github.com/cp6/my-idlers.git
synced 2024-11-16 23:42:32 +01:00
Updated servers API for IP addresses
Updated servers API for IP addresses
This commit is contained in:
parent
d5620294e2
commit
9eafe5fa55
@ -55,6 +55,11 @@ class ApiController extends Controller
|
||||
->where('la.service_id', '=', $id)
|
||||
->get(['l.*']);
|
||||
|
||||
$ip_addresses = DB::table('ips as i')
|
||||
->where('i.service_id', '=', $id)
|
||||
->get(['i.*']);
|
||||
|
||||
$server['ip_addresses'] = $ip_addresses;
|
||||
$server['yabs'] = $yabs;
|
||||
$server['disk_speed'] = $disk_speed;
|
||||
$server['network_speed'] = $network_speed;
|
||||
|
Loading…
Reference in New Issue
Block a user