Omkar008 commited on
Commit
d2b0ff6
1 Parent(s): d3d961d

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -26,7 +26,7 @@ logger = logging.getLogger(__name__)
26
  async def get_gmail_data(request:Request):
27
  body = await request.json()
28
  access_token = body.get("data")
29
- user_input = body.get("brand_name")
30
  data = GmailDataExtractor(access_token,user_input).extract_messages()
31
 
32
  # print(data.error)
 
26
  async def get_gmail_data(request:Request):
27
  body = await request.json()
28
  access_token = body.get("data")
29
+ user_input = None
30
  data = GmailDataExtractor(access_token,user_input).extract_messages()
31
 
32
  # print(data.error)