lint compliance
This commit is contained in:
parent
4672bf794b
commit
62187d855f
@ -1809,7 +1809,7 @@ define([
|
|||||||
var cb = Util.once(Util.mkAsync(_cb));
|
var cb = Util.once(Util.mkAsync(_cb));
|
||||||
|
|
||||||
if (!data.channel) { return void cb({ error: 'ENOTFOUND'}); }
|
if (!data.channel) { return void cb({ error: 'ENOTFOUND'}); }
|
||||||
if (!data.channel.length !== 32) { return void cb({ error: 'EINVAL'}); }
|
if (data.channel.length !== 32) { return void cb({ error: 'EINVAL'}); }
|
||||||
store.anon_rpc.send('GET_METADATA', data.channel, function (err, obj) {
|
store.anon_rpc.send('GET_METADATA', data.channel, function (err, obj) {
|
||||||
if (err) { return void cb({error: err}); }
|
if (err) { return void cb({error: err}); }
|
||||||
var metadata = (obj && obj[0]) || {};
|
var metadata = (obj && obj[0]) || {};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user