Skip to content

Commit 6773176

Browse files
committed
Merge pull request chrisbjr#127 from danhunsaker/bugfix/artisan-delete
Make `php artisan api-key:delete` actually delete
2 parents 8f8c551 + 21126fa commit 6773176

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Console/Commands/DeleteApiKeyCommand.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ public function fire()
5353
return;
5454
}
5555

56-
$this->info("The API key {$key} was deleted.");
56+
$apiKey->delete();
5757

58+
$this->info("The API key {$key} was deleted.");
5859
return;
5960
}
6061

@@ -86,4 +87,4 @@ protected function getOptions()
8687
);
8788
}
8889

89-
}
90+
}

0 commit comments

Comments
 (0)