@incodelang/accounts
Advanced tools
Comparing version 1.0.17 to 1.0.18
{ | ||
"name": "@incodelang/accounts", | ||
"version": "1.0.17", | ||
"version": "1.0.18", | ||
"description": "An API for simple Account Management", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -187,3 +187,3 @@ /** | ||
if (!login(username, password).error) { | ||
if (users[username].data[dataName]) { | ||
if (users[username].data && users[username].data[dataName]) { | ||
return { | ||
@@ -211,3 +211,3 @@ error: false, | ||
error: false, | ||
message: users[username].data | ||
message: users[username].data || {} | ||
} | ||
@@ -214,0 +214,0 @@ } else { |
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
80123