Skip to content

Commit

Permalink
set username to organization
Browse files Browse the repository at this point in the history
  • Loading branch information
hickford committed Aug 6, 2023
1 parent e5232b3 commit be0852a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,11 @@ func main() {
}
var username string
if pairs["username"] == "" {
// TODO: check correctness
username = "oauth2"
if organization != "" {
username = organization
} else {
username = "oauth2"
}
}
output := map[string]string{}
if username != "" {
Expand Down

0 comments on commit be0852a

Please sign in to comment.