Skip to content

Commit e5bad9b

Browse files
committed
fix: definitions
1 parent 514746c commit e5bad9b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/Options/Definitions.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,6 @@ module.exports.ParseServerOptions = {
503503
help: 'Options to limit the complexity of requests to prevent denial-of-service attacks. Limits are enforced for all requests except those using the master or maintenance key. Each property can be set to `-1` to disable that specific limit.',
504504
action: parsers.objectParser,
505505
type: 'RequestComplexityOptions',
506-
default: {},
507506
},
508507
requestContextMiddleware: {
509508
env: 'PARSE_SERVER_REQUEST_CONTEXT_MIDDLEWARE',

src/Options/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,7 @@ export interface ParseServerOptions {
366366
/* Callback when server has closed */
367367
serverCloseComplete: ?() => void;
368368
/* Options to limit the complexity of requests to prevent denial-of-service attacks. Limits are enforced for all requests except those using the master or maintenance key. Each property can be set to `-1` to disable that specific limit.
369-
:ENV: PARSE_SERVER_REQUEST_COMPLEXITY
370-
:DEFAULT: {} */
369+
:ENV: PARSE_SERVER_REQUEST_COMPLEXITY */
371370
requestComplexity: ?RequestComplexityOptions;
372371
/* The security options to identify and report weak security settings.
373372
:DEFAULT: {} */

0 commit comments

Comments
 (0)