Refactor proxy type retrieval in Server and Proxy classes

This commit is contained in:
Andras Bacsai
2024-03-12 12:45:55 +01:00
parent 1835a91467
commit 4d181eef8e
4 changed files with 10 additions and 9 deletions

View File

@@ -400,7 +400,7 @@ $schema://$host {
// $this->proxy->status = ProxyStatus::EXITED->value;
// $this->save();
// }
return data_get($this->proxy, 'type.type');
return data_get($this->proxy, 'type');
}
public function scopeWithProxy(): Builder
{