@opengovsg/myinfo-gov-client
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "@opengovsg/myinfo-gov-client", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "A lightweight client to easily call the MyInfo TUO endpoint for the Singapore government. Compatible with NodeJS version >=6.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -459,3 +459,5 @@ 'use strict' | ||
request(requestDetails, (error, response, body) => { | ||
if (error || response.statusCode !== 200) { | ||
if (error) { | ||
reject(error) | ||
} else if (response && response.statusCode !== 200) { | ||
const message = error && error.message | ||
@@ -462,0 +464,0 @@ ? error.message : response.statusMessage |
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
189912
8027