express-gateway-plugin-oauth
Advanced tools
Comparing version 3.2.9 to 3.2.10
{ | ||
"name": "express-gateway-plugin-oauth", | ||
"version": "3.2.9", | ||
"version": "3.2.10", | ||
"description": "Plugin para solicitar autorização do serviço de autenticação remoto.", | ||
@@ -19,3 +19,2 @@ "main": "manifest.js", | ||
"dotenv": "6.0.0", | ||
"form-urlencoded": "^3.0.0", | ||
"odin-request-retry": "1.0.3", | ||
@@ -22,0 +21,0 @@ "request": "2.87.0", |
@@ -34,5 +34,10 @@ require('dotenv'); | ||
if (data && data.idCliente) { | ||
req.headers.idcliente = data.idCliente; | ||
req.headers.idusuario = data.username; | ||
if (data) { | ||
if (data.idCliente) { | ||
req.headers.idcliente = data.idCliente; | ||
} | ||
if (data.username) { | ||
req.headers.idusuario = data.username; | ||
} | ||
} | ||
@@ -39,0 +44,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6825
4
46
- Removedform-urlencoded@^3.0.0
- Removedform-urlencoded@3.0.2(transitive)