From e9cc28f0ea8297dd7c471024453b7853f0ed948b Mon Sep 17 00:00:00 2001 From: Sergiu Ghitea <28300158+sergiught@users.noreply.github.com> Date: Tue, 10 Oct 2023 10:52:03 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Rita Zerrizuela --- internal/cli/universal_login_customize.go | 2 +- internal/cli/universal_login_customize_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/cli/universal_login_customize.go b/internal/cli/universal_login_customize.go index 533cb2be4..809386c2d 100644 --- a/internal/cli/universal_login_customize.go +++ b/internal/cli/universal_login_customize.go @@ -111,7 +111,7 @@ func ensureNewUniversalLoginExperienceIsActive(ctx context.Context, api *auth0.A return fmt.Errorf( "this feature requires the new Universal Login experience to be enabled for the tenant, " + - "use `auth0 api patch prompts --data '{\"universal_login_experience\":\"new\"}'` to have it enabled", + "use `auth0 api patch prompts --data '{\"universal_login_experience\":\"new\"}'` to enable it", ) } diff --git a/internal/cli/universal_login_customize_test.go b/internal/cli/universal_login_customize_test.go index 5c057b9d7..5c8fa9ce1 100644 --- a/internal/cli/universal_login_customize_test.go +++ b/internal/cli/universal_login_customize_test.go @@ -79,7 +79,7 @@ func TestEnsureNewUniversalLoginExperienceIsActive(t *testing.T) { Prompt: mockPromptAPI, } }, - expectedError: "this feature requires the new Universal Login experience to be enabled for the tenant, use `auth0 api patch prompts --data '{\"universal_login_experience\":\"new\"}'` to have it enabled", + expectedError: "this feature requires the new Universal Login experience to be enabled for the tenant, use `auth0 api patch prompts --data '{\"universal_login_experience\":\"new\"}'` to enable it", }, }