mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-05 18:55:13 +02:00
done, maybe, need to test all
This commit is contained in:
parent
c661976eae
commit
7a94254df9
8 changed files with 64 additions and 35 deletions
|
@ -93,7 +93,7 @@ class MikrotikHotspot
|
|||
$client = $this->getClient($mikrotik['ip_address'], $mikrotik['username'], $mikrotik['password']);
|
||||
$printRequest = new RouterOS\Request(
|
||||
'/ip hotspot active print',
|
||||
RouterOS\Query::where('user', $customer['username'])
|
||||
RouterOS\Query::where('name', $customer['username'])
|
||||
);
|
||||
return $client->sendSync($printRequest)->getProperty('.id');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue