Skip to content

Commit aec1f5d

Browse files
committed
fix: github endpoint to get user emails
1 parent 6455ff9 commit aec1f5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/constants/oauth_info_urls.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const (
99
// Ref: https://docs.github.com/en/developers/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps#3-your-github-app-accesses-the-api-with-the-users-access-token
1010
GithubUserInfoURL = "https://api.github.com/user"
1111
// Get github user emails when user info email is empty Ref: https://stackoverflow.com/a/35387123
12-
GithubUserEmails = "https://api/github.com/user/emails"
12+
GithubUserEmails = "https://api.github.com/user/emails"
1313

1414
// Ref: https://docs.microsoft.com/en-us/linkedin/shared/integrations/people/profile-api
1515
LinkedInUserInfoURL = "https://api.linkedin.com/v2/me?projection=(id,localizedFirstName,localizedLastName,emailAddress,profilePicture(displayImage~:playableStreams))"

0 commit comments

Comments
 (0)