fix: update CLI user agent name
This commit is contained in:
parent
ffb3d81b1f
commit
ecc91f92f4
|
@ -47,7 +47,7 @@ class Detector
|
|||
*/
|
||||
public function getClient(): array
|
||||
{
|
||||
if (strpos($this->userAgent, 'Appwrite CLI') !== false) {
|
||||
if (strpos($this->userAgent, 'AppwriteCLI') !== false) {
|
||||
$version = explode(' ', $this->userAgent)[0];
|
||||
$version = explode('/', $version)[1];
|
||||
$client = [
|
||||
|
|
Loading…
Reference in a new issue