mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-08 16:23:12 +08:00
Simplify ApiKey entity by exposing key as a readonly prop
This commit is contained in:
@@ -109,7 +109,7 @@ class GenerateKeyCommand extends Command
|
||||
));
|
||||
|
||||
$io = new SymfonyStyle($input, $output);
|
||||
$io->success(sprintf('Generated API key: "%s"', $apiKey->toString()));
|
||||
$io->success(sprintf('Generated API key: "%s"', $apiKey->key));
|
||||
|
||||
if (! ApiKey::isAdmin($apiKey)) {
|
||||
ShlinkTable::default($io)->render(
|
||||
|
||||
Reference in New Issue
Block a user