diff --git a/proxies/live/apiproxy/resources/jsc/ConnectionMetadata.SetRequestHeaders.js b/proxies/live/apiproxy/resources/jsc/ConnectionMetadata.SetRequestHeaders.js index b39547d..6a91c46 100644 --- a/proxies/live/apiproxy/resources/jsc/ConnectionMetadata.SetRequestHeaders.js +++ b/proxies/live/apiproxy/resources/jsc/ConnectionMetadata.SetRequestHeaders.js @@ -90,9 +90,9 @@ "nrl.ods-code": odsCode, "nrl.ods-code-extension": odsCodeExtension, "nrl.pointer-types": pointerTypes, - "nrl.enable-authorization-lookup": enableAuthorizationLookup, + "nrl.enable-authorization-lookup": enableAuthorizationLookup }; - if (permissions.length > 0) { + if (nrlPermissions.length > 0) { connectionMetadata["nrl.permissions"] = permissions; }