pull/518/head
sachaaaaa 6 years ago
parent e07f81c150
commit 3b450e28da

@ -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 [];
}

@ -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';

Loading…
Cancel
Save