From 7d50310e7aad80896242dd0949ae29417f317136 Mon Sep 17 00:00:00 2001 From: August Miller Date: Fri, 14 Jun 2024 11:13:51 -0700 Subject: [PATCH] Correct prompt for token name --- src/console/controllers/GraphqlController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/console/controllers/GraphqlController.php b/src/console/controllers/GraphqlController.php index 010d663542c..7a3291e1543 100644 --- a/src/console/controllers/GraphqlController.php +++ b/src/console/controllers/GraphqlController.php @@ -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);