fix DO api connect (#623)

This commit is contained in:
Saeed Vaziry
2025-06-23 17:12:47 +02:00
committed by GitHub
parent 231e90076f
commit a2841f673b

View File

@ -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');
}