Skip to content

Commit a47fda6

Browse files
committed
Updated loadReply() in app/main.js
Private POSTs to channels in Securelay now does not have metadata. Updated loadReply() to be compatible.
1 parent 733e615 commit a47fda6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ window.loadReply = async function loadReply (callingBtn) {
201201
if (!response.ok) throw new Error(response.status);
202202
return response.json();
203203
})
204-
.then((data) => data.data.Message);
204+
.then((data) => data.Message);
205205
callingBtn.previousElementSibling.innerText = reply;
206206
} catch (err) {
207207
callingBtn.previousElementSibling.innerText = 'Found none';

0 commit comments

Comments
 (0)