Merge branch 'Development'

This commit is contained in:
Ibnu Maksum 2024-10-08 11:22:39 +07:00
commit f7cb6c196f
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5

View File

@ -297,7 +297,7 @@ class MikrotikPppoe
$client = $this->getClient($mikrotik['ip_address'], $mikrotik['username'], $mikrotik['password']); $client = $this->getClient($mikrotik['ip_address'], $mikrotik['username'], $mikrotik['password']);
$printRequest = new RouterOS\Request( $printRequest = new RouterOS\Request(
'/ppp active print', '/ppp active print',
RouterOS\Query::where('user', $customer['username']) RouterOS\Query::where('name', $customer['username'])
); );
return $client->sendSync($printRequest)->getProperty('.id'); return $client->sendSync($printRequest)->getProperty('.id');
} }