Flow compliance

pull/1/head
yflory 7 years ago
parent e1473dff79
commit bf520c2cb4

@ -334,7 +334,7 @@ var getMetadata = function (Env, channel, cb) {
return cb('GET_CHANNEL_METADATA_UNSUPPORTED'); return cb('GET_CHANNEL_METADATA_UNSUPPORTED');
} }
return void Env.msgStore.getChannelMetadata(channel, function (e, data /*:object*/) { return void Env.msgStore.getChannelMetadata(channel, function (e, data) {
if (e) { if (e) {
if (e.code === 'INVALID_METADATA') { return void cb(void 0, {}); } if (e.code === 'INVALID_METADATA') { return void cb(void 0, {}); }
return void cb(e.code); return void cb(e.code);

Loading…
Cancel
Save