Merge branch 'testeA'
						commit
						37f2cb26ad
					
				|  | @ -115,6 +115,8 @@ export const initWbot = async (whatsapp: Whatsapp): Promise<Session> => { | |||
|       wbot.on("ready", async () => { | ||||
|         logger.info(`Session: ${sessionName} READY`); | ||||
| 
 | ||||
|         // console.log('>>>>>>>>>>>>>> ready wbot.ts MOBILE NUMBER: ', wbot.info["wid"]["user"])
 | ||||
| 
 | ||||
|         await whatsapp.update({ | ||||
|           status: "CONNECTED", | ||||
|           qrcode: "", | ||||
|  |  | |||
|  | @ -20,6 +20,9 @@ const wbotMonitor = async ( | |||
|   try { | ||||
|     wbot.on("change_state", async newState => { | ||||
|       logger.info(`Monitor session: ${sessionName}, ${newState}`); | ||||
| 
 | ||||
|      // console.log('>>>>>>>>>>>>>> change_state wbotMonitor.ts MOBILE NUMBER: ', wbot.info["wid"]["user"])
 | ||||
| 
 | ||||
|       try { | ||||
|         await whatsapp.update({ status: newState }); | ||||
|       } catch (err) { | ||||
|  |  | |||
|  | @ -566,6 +566,13 @@ const handleModal =  (rowData) => { | |||
|                     width: 300, | ||||
|                   }, | ||||
| 
 | ||||
|                   pageSize: 20, | ||||
|                   headerStyle: { | ||||
|                     position: "sticky", | ||||
|                     top: "0" | ||||
|                   }, | ||||
|                   maxBodyHeight: "400px", | ||||
| 
 | ||||
|                   rowStyle: { | ||||
|                     fontSize: 12, | ||||
|                   } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue