convestations object is not found
Respondidahi when I execute this code:
connexions.connRainbow.events.on('rainbow_onready', () => {
console.log(util.inspect(connexions.connRainbow.conversations, false, null));
}
it returns that no conversations element found in connexions.connRainbow but we found bubbles
so : console.log(util.inspect(connexions.connRainbow.bubbles, false, null)); works fine
Could you have a look
Thanks in advance
Faissal
-
Hi,
Erm, well. connexions.connRainbow.conversations is the Conversations module.
See: https://hub.openrainbow.com/#/documentation/doc/sdk/node/api/conversations
(I suppose you spoke from Node SDK)But up to you to log/inspect it ;)
Could you please give me the SDK version you are using ?
Thanks,
Pascal -
Little remark about your code: util.inspect has only 2 args object[, options], and options as an object, but you call it with (object, false, null)
cf https://nodejs.org/api/util.html#util_util_inspect_object_optionsI don't know if it'll prevent it from working.
Por favor, entrar para comentar.
Comentários
5 comentários