diff --git a/src/Console/Commands/DeleteApiKeyCommand.php b/src/Console/Commands/DeleteApiKeyCommand.php index 0a98c9c5d..f2034497b 100644 --- a/src/Console/Commands/DeleteApiKeyCommand.php +++ b/src/Console/Commands/DeleteApiKeyCommand.php @@ -53,8 +53,9 @@ public function fire() return; } - $this->info("The API key {$key} was deleted."); + $apiKey->delete(); + $this->info("The API key {$key} was deleted."); return; } @@ -86,4 +87,4 @@ protected function getOptions() ); } -} \ No newline at end of file +}