From bf520c2cb414c7d5c78978c298e72ae73cfc703d Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 10 Apr 2018 16:46:01 +0200 Subject: [PATCH] Flow compliance --- rpc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc.js b/rpc.js index 48c25b8ef..88228fdac 100644 --- a/rpc.js +++ b/rpc.js @@ -334,7 +334,7 @@ var getMetadata = function (Env, channel, cb) { 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.code === 'INVALID_METADATA') { return void cb(void 0, {}); } return void cb(e.code);