mirror of
https://github.com/appwrite/appwrite
synced 2026-05-21 16:08:22 +00:00
feat: update user agent name to Appwrite CLI
This commit is contained in:
parent
d2809d9980
commit
8fbb6d1057
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ class Detector
|
|||
*/
|
||||
public function getClient(): array
|
||||
{
|
||||
if (strpos($this->userAgent, 'Terminal') !== false) {
|
||||
if (strpos($this->userAgent, 'Appwrite CLI') !== false) {
|
||||
$version = explode(' ', $this->userAgent)[0];
|
||||
$version = explode('/', $version)[1];
|
||||
$client = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue