Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jwijenbergh committed Dec 3, 2024
1 parent cf44479 commit a1d91a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/geteduroam-cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func organization(orgs *provider.Providers) *provider.Provider {
for {
if len(*f) > h-3 {
for _, c := range *f {
fmt.Printf("%s\n", c.Name)
fmt.Printf("%s\n", c.Name.Get())
}
fmt.Println("\nList is long...")
f = filteredOrganizations(f, "Please refine your search: ")
Expand All @@ -138,7 +138,7 @@ func organization(orgs *provider.Providers) *provider.Provider {
}
fmt.Println("\nFound the following matches: ")
for n, c := range *f {
fmt.Printf("[%d] %s\n", n+1, c.Name)
fmt.Printf("[%d] %s\n", n+1, c.Name.Get())
}
input := ask("\nPlease enter a choice for the organisation: ", func(input string) bool {
return validateRange(input, len(*f))
Expand All @@ -160,7 +160,7 @@ func profile(profiles []provider.Profile) *provider.Profile {
// Multiple profiles found, we need to get the right one
fmt.Println("Found the following profiles: ")
for n, c := range profiles {
fmt.Printf("[%d] %s\n", n+1, c.Name)
fmt.Printf("[%d] %s\n", n+1, c.Name.Get())
}
input := ask("Please enter a choice for the profile: ", func(input string) bool {
return validateRange(input, len(profiles))
Expand Down

0 comments on commit a1d91a0

Please sign in to comment.