amzn / oss-dashboard

A dashboard for viewing many GitHub organizations at once.
Apache License 2.0
159 stars 40 forks source link

Fix accessing team stats when private access is granted. #112

Closed MaineC closed 7 years ago

MaineC commented 7 years ago

The original implementation looks like it's using the org name instead of the org login name to access collaborator stats.

This breaks if these two strings aren't identical.

The attached change fixed the behaviour for me, not sure if there's a better location (or if there are other locations that might break similarly).

Issue #, if available:

111

Please confirm that your contribution is made under the terms of the Apache 2.0 license: Confirming.

hyandell commented 7 years ago

Agreed. Pending me applying and running a test.