Gaykar commited on
Commit
ebdd2bf
·
1 Parent(s): ce9ec4d
Files changed (1) hide show
  1. app/gmail_auth.py +4 -2
app/gmail_auth.py CHANGED
@@ -30,10 +30,12 @@ from langchain_google_community.gmail.utils import (
30
  from langchain_google_community import GmailToolkit
31
 
32
  # LOAD CREDENTIALS - Fixed parameter name to 'client_secrets_file'
33
- credentials = get_gmail_credentials(
 
 
34
  token_file=str(TOKEN_PATH.resolve()),
35
  scopes=["https://mail.google.com/"],
36
- client_sercrets_file=str(CREDENTIALS_PATH.resolve()), # <-- Fixed typo here
37
  )
38
 
39
  # BUILD API RESOURCE
 
30
  from langchain_google_community import GmailToolkit
31
 
32
  # LOAD CREDENTIALS - Fixed parameter name to 'client_secrets_file'
33
+ credentials = get_gmail_credentials(
34
+
35
+
36
  token_file=str(TOKEN_PATH.resolve()),
37
  scopes=["https://mail.google.com/"],
38
+ client_sercret_file=str(CREDENTIALS_PATH.resolve()), # <-- Fixed typo here
39
  )
40
 
41
  # BUILD API RESOURCE