convert2graphql
Advanced tools
Comparing version 1.0.4 to 1.0.5
10
index.js
@@ -48,5 +48,9 @@ module.exports = class { | ||
if (obj.returnNode) { | ||
return `${obj.name}{ | ||
${nodes} | ||
}` | ||
if (nodes == '') { | ||
return `${obj.name}` | ||
} else { | ||
return `${obj.name}{ | ||
${nodes} | ||
}` | ||
} | ||
} else if (obj.returnArgs) { | ||
@@ -53,0 +57,0 @@ return `${obj.name}: {${args}}` |
{ | ||
"name": "convert2graphql", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
4237
62