-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/127/save GitHub user #128
Conversation
const octokit = new Octokit({ USERNAME: env.AUTH0_CLIENT_SECRET }); | ||
|
||
export const getUserInfo = async (email: string) => { | ||
return await octokit.request(`GET /search/users?q=${email}`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have to handle an error, e.g. we consumed all of the free intents or something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or time out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nop, I'll check it
What does this PR do?
Save the github user when, you log in, on the profile table if the user doesn't have that information
How should this be manually tested?
Any background context you want to provide?
This only will works if the user has a public email set on git hub.
What are the relevant tickets?
#127 #116
Screenshots
Questions
Checklist