From 6d8cdca7a3d278142a569da25d73fa06982146e3 Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 5 Mar 2020 12:09:18 -0500 Subject: [PATCH] add 'rejected' field to metadata when getMetadata requests are blocked --- lib/commands/metadata.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/commands/metadata.js b/lib/commands/metadata.js index b45bddf52..802942fcb 100644 --- a/lib/commands/metadata.js +++ b/lib/commands/metadata.js @@ -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);