fix: Server does not start via CLI when auth option is set (#8666)

This commit is contained in:
Daniel
2023-07-04 21:16:55 +10:00
committed by GitHub
parent 446cbb1a31
commit 4e2000bc56
5 changed files with 34 additions and 3 deletions

View File

@@ -149,7 +149,7 @@ export interface ParseServerOptions {
allowCustomObjectId: ?boolean;
/* Configuration for your authentication providers, as stringified JSON. See http://docs.parseplatform.org/parse-server/guide/#oauth-and-3rd-party-authentication
:ENV: PARSE_SERVER_AUTH_PROVIDERS */
auth: ?(AuthAdapter[]);
auth: ?{ [string]: AuthAdapter };
/* Max file size for uploads, defaults to 20mb
:DEFAULT: 20mb */
maxUploadSize: ?string;