Omkar008 commited on
Commit
d94144f
1 Parent(s): 70ccf97

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -3
main.py CHANGED
@@ -26,10 +26,10 @@ async def get_gmail_data(request:Request):
26
  data = await request.json()
27
  access_token = data.get("access_token")
28
  user_input = data.get("brand_name")
29
- data = GmailDataExtractor(access_token,user_input).extract_messages().json()
30
 
31
- print(data.error)
32
- print(data.json())
33
  return data
34
 
35
 
 
26
  data = await request.json()
27
  access_token = data.get("access_token")
28
  user_input = data.get("brand_name")
29
+ data = GmailDataExtractor(access_token,user_input).extract_messages()
30
 
31
+ # print(data.error)
32
+ # print(data.json())
33
  return data
34
 
35