mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
improve console.log
This commit is contained in:
@@ -138,6 +138,9 @@ class _RocketChatClientService {
|
||||
createRoom() {}
|
||||
|
||||
getRooms() {
|
||||
const conditions = this.attemptRequestQueue({},{methodName: 'getRooms'})
|
||||
if(conditions == false) { return new Promise((resolve, reject) => { reject('no error')}); }
|
||||
|
||||
const requestId = uuidv4()
|
||||
|
||||
const request = {
|
||||
@@ -242,7 +245,7 @@ class _RocketChatClientService {
|
||||
console.log('save msgQueue')
|
||||
this.wsMsgQueue.push({message, requestId})
|
||||
} else {
|
||||
console.log('send rocket chat', message)
|
||||
console.log('send to rocket chat', message)
|
||||
let messageStr = JSON.stringify(message)
|
||||
this.socket.send(messageStr)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user