Omkar008 commited on
Commit
6b7f6e4
1 Parent(s): 6bcf95a

Update controllers/ws_controller.py

Browse files
Files changed (1) hide show
  1. controllers/ws_controller.py +1 -1
controllers/ws_controller.py CHANGED
@@ -16,7 +16,7 @@ def get_company_type(company_name:str,websocket:WebSocket)->str:
16
  print(company_types_dict["louis vuitton"])
17
  return company_types_dict.get(company_name.lower(), 'Others')
18
 
19
- def get_messages(code: str,brand_name: Optional[str] = None):
20
  access_token = code
21
  g_query = f'(subject:"your order" OR subject:receipts OR subject:receipt OR subject:aankoopbon OR subject:reçu OR subject:invoice OR subject:invoices OR category:purchases) has:attachment'
22
  if brand_name is not None:
 
16
  print(company_types_dict["louis vuitton"])
17
  return company_types_dict.get(company_name.lower(), 'Others')
18
 
19
+ def get_messages(code: str,brand_name: Optional[str] = None,websocket:WebSocket):
20
  access_token = code
21
  g_query = f'(subject:"your order" OR subject:receipts OR subject:receipt OR subject:aankoopbon OR subject:reçu OR subject:invoice OR subject:invoices OR category:purchases) has:attachment'
22
  if brand_name is not None: