Skip to content

Commit

Permalink
Correct prompt for token name
Browse files Browse the repository at this point in the history
  • Loading branch information
AugustMiller authored and brandonkelly committed Jun 14, 2024
1 parent 891a474 commit 7d50310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/console/controllers/GraphqlController.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public function actionCreateToken(string $schemaUid): int

$token = new GqlToken();
$token->schemaId = $schema->id;
$token->name = $this->name ?? $this->prompt('Schema name:', [
$token->name = $this->name ?? $this->prompt('Token name:', [
'required' => true,
]);
$token->accessToken = Craft::$app->getSecurity()->generateRandomString(32);
Expand Down

0 comments on commit 7d50310

Please sign in to comment.