data-validation-proximity 1.2.1 → 1.2.2
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.
- package/index.js +4 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -561,10 +561,10 @@ const schemaStore = joi.object({
|
|
|
561
561
|
workingTime: workingTimeSchema,
|
|
562
562
|
policy: policySchema,
|
|
563
563
|
image: joi.string().min(3),
|
|
564
|
-
storeCategories: joi.
|
|
565
|
-
productCategories: joi.
|
|
566
|
-
storeRayons: joi.
|
|
567
|
-
template: joi.
|
|
564
|
+
storeCategories: joi.string(),
|
|
565
|
+
productCategories: joi.string(),
|
|
566
|
+
storeRayons: joi.string(),
|
|
567
|
+
template: joi.string(),
|
|
568
568
|
});
|
|
569
569
|
|
|
570
570
|
exports.schemaStoreValidation = (req, res, next) => {
|