(s int)
| 75 | } |
| 76 | |
| 77 | func getOauthAppState(s int) string { |
| 78 | if s == 1 { |
| 79 | return "Requested" |
| 80 | } |
| 81 | if s == 2 { |
| 82 | return "Approved" |
| 83 | } |
| 84 | if s == 3 { |
| 85 | return "Denied" |
| 86 | } |
| 87 | return "Unknown" |
| 88 | } |
| 89 | |
| 90 | func parseStats(statsJson string) (org.OrgStats, []InstallationInfo, error) { |
| 91 | var stats org.OrgStats |