From 3b450e28da5ee453c45aeee39146c5b370945026 Mon Sep 17 00:00:00 2001 From: sachaaaaa Date: Fri, 20 Sep 2019 10:55:08 +1000 Subject: [PATCH] lint --- js/modules/loki_app_dot_net_api.js | 3 +-- js/modules/loki_file_server_api.js | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/js/modules/loki_app_dot_net_api.js b/js/modules/loki_app_dot_net_api.js index 7d7dbfdd1..bfea9a312 100644 --- a/js/modules/loki_app_dot_net_api.js +++ b/js/modules/loki_app_dot_net_api.js @@ -198,7 +198,6 @@ class LokiAppDotNetServerAPI { } } - // make a request to the server async serverRequest(endpoint, options = {}) { const { params = {}, method, objBody, forceFreshToken = false } = options; @@ -271,7 +270,7 @@ class LokiAppDotNetServerAPI { } async getUserAnnotations(pubKey) { - if (!pubKey){ + if (!pubKey) { log.warn('No pubkey provided to getUserAnnotations!'); return []; } diff --git a/js/modules/loki_file_server_api.js b/js/modules/loki_file_server_api.js index a07d20f5d..5b110e199 100644 --- a/js/modules/loki_file_server_api.js +++ b/js/modules/loki_file_server_api.js @@ -1,7 +1,3 @@ -/* global storage: false */ -/* global libloki: false */ -/* global Signal: false */ - const LokiAppDotNetAPI = require('./loki_app_dot_net_api'); const DEVICE_MAPPING_ANNOTATION_KEY = 'network.loki.messenger.devicemapping';