Skip to content

Commit a595239

Browse files
authored
Merge pull request #327 from twitchdev/fix-validate-scopes-issue
Fixed issue where no scopes message was saying user id instead of scopes
2 parents 30cf222 + 28609fb commit a595239

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/token.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func loginCmdRun(cmd *cobra.Command, args []string) error {
122122
lightYellow("Expires In: %v\n", white("%v (%v)", strconv.FormatInt(r.ExpiresIn, 10), expiresInTimestamp))
123123

124124
if len(r.Scopes) == 0 {
125-
lightYellow("User ID: %v\n", white("None"))
125+
lightYellow("Scopes: %v\n", white("None"))
126126
} else {
127127
lightYellow("Scopes:\n")
128128
for _, s := range r.Scopes {

0 commit comments

Comments
 (0)