@incodelang/accounts
Advanced tools
Comparing version 1.0.9 to 1.0.10
{ | ||
"name": "@incodelang/accounts", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "An API for simple Account Management", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -145,5 +145,12 @@ /** | ||
function existsBox(owner, name) { | ||
return { | ||
error: false, | ||
message: data[owner + "_" + name] === null ? "The postbox does not exists" : "The postbox exists" | ||
if (data[owner + "_" + name]) { | ||
return { | ||
error: false, | ||
message: "The postbox exists" | ||
} | ||
} else { | ||
return { | ||
error: false, | ||
message: "The postbox does not exists" | ||
} | ||
} | ||
@@ -150,0 +157,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
73864
830