Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Rita Zerrizuela <[email protected]>
  • Loading branch information
sergiught and Widcket authored Oct 10, 2023
1 parent 171640a commit e9cc28f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/cli/universal_login_customize.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)
}

Expand Down
2 changes: 1 addition & 1 deletion internal/cli/universal_login_customize_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
}

Expand Down

0 comments on commit e9cc28f

Please sign in to comment.