Omkar008 commited on
Commit
9dc6b7f
1 Parent(s): da71e44

Update controllers/ws_controller_1.py

Browse files
Files changed (1) hide show
  1. controllers/ws_controller_1.py +1 -1
controllers/ws_controller_1.py CHANGED
@@ -137,7 +137,7 @@ async def process_message(message: Message, websocket: WebSocket, chunk_size: in
137
  await send_message_in_chunks(websocket, message_json, chunk_size)
138
  await websocket.send_text("NEXT_MESSAGE")
139
 
140
- async def get_messages(code: str, websocket: WebSocket, brand_name: Optional[str] = None):
141
  access_token = code
142
  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'
143
  if brand_name:
 
137
  await send_message_in_chunks(websocket, message_json, chunk_size)
138
  await websocket.send_text("NEXT_MESSAGE")
139
 
140
+ async def get_messages(code: str, websocket: WebSocket,start, brand_name: Optional[str] = None):
141
  access_token = code
142
  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'
143
  if brand_name: