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

pull/1/head
ansuz 2020-03-05 12:09:18 -05:00
parent 330059e46e
commit 6d8cdca7a3
1 changed files with 1 additions and 0 deletions

View File

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