Comparing version 0.1.0 to 0.1.1
@@ -46,3 +46,4 @@ var models = require('../common/models.js')(); | ||
if(formResults === null || formResults === undefined){ | ||
if((formResults === null || formResults === undefined) && !(options.getAllForms === true)){ | ||
return cb(new Error("No form exists matching id " + options.formId)); | ||
@@ -49,0 +50,0 @@ } |
{ | ||
"name": "fh-forms", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Cloud Forms API for form submission", | ||
@@ -5,0 +5,0 @@ "main": "lib/fhforms.js", |
@@ -66,7 +66,5 @@ require('./../Fixtures/env.js'); | ||
finish(); | ||
}); | ||
}; | ||
//Adding data needed for the test | ||
@@ -73,0 +71,0 @@ function createTestData(assert, cb){ |
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
1035695