Browse Source

Fixed issue with send_message

pull/137/head
Justin Ferrari 2 years ago
parent
commit
fdde6aeffe
  1. 3
      qortal-ui-plugins/plugins/core/qdn/browser/browser.src.js

3
qortal-ui-plugins/plugins/core/qdn/browser/browser.src.js

@ -648,14 +648,13 @@ class WebBrowser extends LitElement {
};
const getSendChatResponse = (res) => {
if (res === true) {
if (res.signature) {
return res
} else if (res.error) {
throw new Error(res.message);
} else {
throw new Error('ERROR: Could not send message');
}
};
const chatResponse = await sendMessageRequest();

Loading…
Cancel
Save