axe-api 0.20.0-rc22 → 0.20.0-rc23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -32,7 +32,7 @@ exports.default = (pack) => __awaiter(void 0, void 0, void 0, function* () {
|
|
|
32
32
|
query }));
|
|
33
33
|
const requestMethod = req.method;
|
|
34
34
|
const fillables = model.instance.getFillableFields(requestMethod);
|
|
35
|
-
const formData = (0, Helpers_1.getMergedFormData)(req, fillables);
|
|
35
|
+
const formData = Object.assign(Object.assign({}, item), (0, Helpers_1.getMergedFormData)(req, fillables));
|
|
36
36
|
const validationRules = model.instance.getValidationRules(requestMethod);
|
|
37
37
|
if (validationRules) {
|
|
38
38
|
const validation = new validatorjs_1.default(formData, validationRules);
|
package/package.json
CHANGED