Skip to content
Snippets Groups Projects
Commit 328d9ab3 authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

fixed use of GetUser

parent 6f30015f
Branches
Tags
No related merge requests found
...@@ -201,11 +201,8 @@ var rootCmd = &cobra.Command{ ...@@ -201,11 +201,8 @@ var rootCmd = &cobra.Command{
} }
} }
user, err := client.GetUser() user := client.GetUser()
if err != nil { jww.INFO.Printf("%s", user.ID)
jww.FATAL.Panicf("%+v", err)
}
jww.INFO.Printf("%v", user.ID)
}, },
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment