mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-01 05:56:16 +00:00
fix DO api connect (#623)
This commit is contained in:
@ -55,7 +55,7 @@ public function data(array $input): array
|
||||
public function connect(array $credentials): bool
|
||||
{
|
||||
try {
|
||||
$connect = Http::withToken($credentials['token'])->get($this->apiUrl.'/account');
|
||||
$connect = Http::withToken($credentials['token'])->get($this->apiUrl.'/droplets');
|
||||
} catch (Exception) {
|
||||
throw new CouldNotConnectToProvider('DigitalOcean');
|
||||
}
|
||||
|
Reference in New Issue
Block a user