Skip to content

Fix getMyOrganizations to build hash on login instead of name#10

Closed
ryanbrainard wants to merge 1 commit intohub4j:masterfrom
ryanbrainard:org-name-to-login-fix
Closed

Fix getMyOrganizations to build hash on login instead of name#10
ryanbrainard wants to merge 1 commit intohub4j:masterfrom
ryanbrainard:org-name-to-login-fix

Conversation

@ryanbrainard
Copy link
Copy Markdown

In v3, orgs always have a login, but the name is only returned on the detailed call. getMyOrganizations() was keying on name, but was always null. This is to change it to login as the unique id for orgs.

as this is null in v3 for shallow org info
@kohsuke
Copy link
Copy Markdown
Collaborator

kohsuke commented Jun 13, 2012

Oops, I fixed this independently before noticing this pull request. Thanks!
I also added you as a collaborator.

@kohsuke kohsuke closed this Jun 13, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants