mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
feat: update user agent name to Appwrite CLI
This commit is contained in:
1 parent
d2809d9980
commit
8fbb6d1057
1 file changed
+1
-1
@@ -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 = [
|
||||
|
||||
Reference in new issue
Block a user