1
0
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:
cp6 2022-02-22 13:41:55 +11:00
parent d5620294e2
commit 9eafe5fa55

View File

@ -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;