Skip to content

Commit

Permalink
fix: matching up environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
0x0elliot committed Aug 11, 2023
1 parent 56384d5 commit 6355fd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oauth2.go
Original file line number Diff line number Diff line change
Expand Up @@ -2946,8 +2946,8 @@ func MakeGmailWebhookRequest(ctx context.Context, webhookUrl string, mappedData
func RefreshOutlookClient(ctx context.Context, auth TriggerAuth) (error) {
// Manually recreate the oauthtoken
conf := &oauth2.Config{
ClientID: os.Getenv("OUTLOOK_CLIENT_ID"),
ClientSecret: os.Getenv("OUTLOOK_CLIENT_SECRET"),
ClientID: os.Getenv("OFFICE365_CLIENT_ID"),
ClientSecret: os.Getenv("OFFICE365_CLIENT_SECRET"),
Scopes: []string{
"Mail.Read",
},
Expand Down

0 comments on commit 6355fd5

Please sign in to comment.