add 'rejected' field to metadata when getMetadata requests are blocked

pull/1/head
ansuz 5 years ago
parent 330059e46e
commit 6d8cdca7a3

@ -46,6 +46,7 @@ Data.getMetadata = function (Env, channel, cb, Server, netfluxId) {
return void cb(void 0, {
restricted: metadata.restricted,
allowed: allowed,
rejected: true,
});
}
cb(void 0, metadata);

Loading…
Cancel
Save