feat: implement resolvers for email template

This commit is contained in:
Lakhan Samani
2022-07-17 12:32:01 +05:30
parent 50f52a99b4
commit cd46da60a0
9 changed files with 220 additions and 11 deletions

View File

@@ -8,7 +8,7 @@ const (
FacebookUserInfoURL = "https://graph.facebook.com/me?fields=id,first_name,last_name,name,email,picture&access_token="
// 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
GithubUserInfoURL = "https://api.github.com/user"
// Get github user emails Ref: https://stackoverflow.com/a/35387123
// Get github user emails when user info email is empty Ref: https://stackoverflow.com/a/35387123
GithubUserEmails = "https://api/github.com/user/emails"
// Ref: https://docs.microsoft.com/en-us/linkedin/shared/integrations/people/profile-api