Skip to content

Commit 7ba6b7c

Browse files
authored
rename option
Signed-off-by: Manuel <[email protected]>
1 parent a0a32ee commit 7ba6b7c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Options/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,9 @@ export interface ParseServerOptions {
347347
rateLimit: ?(RateLimitOptions[]);
348348
/* Options to customize the request context using inversion of control/dependency injection.*/
349349
requestContextMiddleware: ?(req: any, res: any, next: any) => void;
350-
/* If true, disables sanitizing errors and returns the detailed message instead of "Permission denied".
351-
:DEFAULT: false */
352-
disableSanitizeError: ?boolean;
350+
/* If set to `true`, error details are removed from error messages in responses to client requests, and instead a generic error message is sent. Default is `true`.
351+
:DEFAULT: true */
352+
enableSanitizedErrorResponse: ?boolean;
353353
}
354354

355355
export interface RateLimitOptions {

0 commit comments

Comments
 (0)