From 07ed2b10821449aafbcb58c89e86daeb3afc7587 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Tue, 24 Sep 2024 10:34:58 +0200 Subject: [PATCH] fix: getting correct errors on apiToken --- src/templates/settings.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/settings.twig b/src/templates/settings.twig index 637cac1..361074e 100644 --- a/src/templates/settings.twig +++ b/src/templates/settings.twig @@ -43,7 +43,7 @@ suggestions: craft.cp.getEnvSuggestions(), name: 'apiToken', value: purger.apiToken, - errors: purger.getErrors('namespace'), + errors: purger.getErrors('apiToken'), required: true, }) }}