Skip to content

Commit

Permalink
The newline character screws things up
Browse files Browse the repository at this point in the history
  • Loading branch information
bdwyertech committed Feb 27, 2023
1 parent 5344f9b commit 41795dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func main() {
log.Fatal(err)
}

if _, err = fmt.Println(*result.AuthorizationData[0].AuthorizationToken); err != nil {
if _, err = fmt.Print(*result.AuthorizationData[0].AuthorizationToken); err != nil {
log.Fatal(err)
}
}

0 comments on commit 41795dd

Please sign in to comment.