MCPcopy Index your code
hub / github.com/parse-community/parse-server / validateMaxLimit

Method validateMaxLimit

src/Config.js:681–685  ·  view source on GitHub ↗
(maxLimit)

Source from the content-addressed store, hash-verified

679 }
680
681 static validateMaxLimit(maxLimit) {
682 if (maxLimit <= 0) {
683 throw 'Max limit must be a value greater than 0.';
684 }
685 }
686
687 static validateRequestComplexity(requestComplexity) {
688 if (requestComplexity == null) {

Callers 1

validateOptionsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected