Closed mishfit closed 6 years ago
This line seems to throw if I don't have a public email displayed on my profile, however, I have two invisible emails setup:
https://github.com/Strider-CD/strider-github/blob/master/lib/webapp.js#L169
if (!profile.emails || !profile.emails.length)
What's more, the next line at which an email is used potentially doesn't care if you do have one or not: https://github.com/Strider-CD/strider-github/blob/master/lib/webapp.js#L181
mail: profile.emails ? profile.emails[0].value : null,
So should one have a public email or not?
obviously one of these lines needs to change
That is correct, you need a public email. Good catch
This line seems to throw if I don't have a public email displayed on my profile, however, I have two invisible emails setup:
https://github.com/Strider-CD/strider-github/blob/master/lib/webapp.js#L169
What's more, the next line at which an email is used potentially doesn't care if you do have one or not: https://github.com/Strider-CD/strider-github/blob/master/lib/webapp.js#L181
So should one have a public email or not?
obviously one of these lines needs to change