lint caught typo

pull/787/head
Ryan Tharp 5 years ago
parent 3abb691e2c
commit 09e133743d

@ -1,4 +1,4 @@
/* global Whisper, i18n, ConversationController, friends, lokiPublicChatAPI */ /* global Whisper, i18n, log */
// eslint-disable-next-line func-names // eslint-disable-next-line func-names
(function() { (function() {
@ -24,8 +24,9 @@
'click .cancel': 'close', 'click .cancel': 'close',
}, },
async attemptConnection(serverUrl, channelId) { async attemptConnection(serverUrl, channelId) {
let conversation = null;
try { try {
const conversion = await window.attemptConnection(serverUrl, channelId); conversation = await window.attemptConnection(serverUrl, channelId);
} catch (e) { } catch (e) {
log.error('can not connect', e.message, e.code); log.error('can not connect', e.message, e.code);
return this.resolveWith({ errorCode: e.message }); return this.resolveWith({ errorCode: e.message });

Loading…
Cancel
Save