This commit is contained in:
Dennis
2023-10-18 08:19:48 +02:00
parent 0c1d970a9c
commit b4d35adfb4
3 changed files with 539 additions and 529 deletions

View File

@@ -22,6 +22,16 @@ class SynchronizeServerAction
return null;
}
if(!$serverData){
Notification::make()
->title('Server synchronization')
->body('It was not possible to synchronize servers, it seems the API key has the wrong scopes. Please make sure the Ploi API key you\'ve entered has all the scopes enabled.')
->danger()
->send();
return null;
}
try {
$server = Server::query()
->updateOrCreate([