pg-mvc-service 2.0.95 → 2.0.96
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.
|
@@ -775,7 +775,6 @@ class RequestType extends ReqResType_1.default {
|
|
|
775
775
|
if (property.maxLength !== undefined && stringValue.length > property.maxLength) {
|
|
776
776
|
this.throwInputError(isRequestBody ? "STRING_22" : "STRING_92", keys, value);
|
|
777
777
|
}
|
|
778
|
-
console.log(property.regExp, stringValue, property.regExp !== undefined ? property.regExp.test(stringValue) : 'No');
|
|
779
778
|
if (property.regExp !== undefined && property.regExp.test(stringValue) === false) {
|
|
780
779
|
this.throwInputError(isRequestBody ? "STRING_23" : "STRING_93", keys, value);
|
|
781
780
|
}
|
package/package.json
CHANGED
|
@@ -809,7 +809,6 @@ export class RequestType extends ReqResType {
|
|
|
809
809
|
this.throwInputError(isRequestBody ? "STRING_22" : "STRING_92", keys, value);
|
|
810
810
|
}
|
|
811
811
|
|
|
812
|
-
console.log(property.regExp, stringValue, property.regExp !== undefined ? property.regExp.test(stringValue) : 'No');
|
|
813
812
|
if (property.regExp !== undefined && property.regExp.test(stringValue) === false) {
|
|
814
813
|
this.throwInputError(isRequestBody ? "STRING_23" : "STRING_93", keys, value);
|
|
815
814
|
}
|