format file

This commit is contained in:
Phillip 2023-02-23 23:24:43 +00:00
parent 8bc0161a70
commit fb9da8d1d4

View File

@ -601,7 +601,7 @@ class WebBrowser extends LitElement {
let chatBytesArray = null;
await new Promise((res) => {
worker.postMessage({chatBytes, path, difficulty});
worker.postMessage({ chatBytes, path, difficulty });
worker.onmessage = e => {
chatBytesArray = e.data.chatBytesArray;
nonce = e.data.nonce;
@ -1001,14 +1001,14 @@ class WebBrowser extends LitElement {
}
}
const getName = async (recipient)=> {
const getName = async (recipient) => {
try {
const getNames = await parentEpml.request("apiCall", {
type: "api",
url: `/names/address/${recipient}`,
});
if (getNames.length > 0 ) {
if (getNames.length > 0) {
return getNames[0].name;
} else {
return '';