Skip to content

Commit a62ba27

Browse files
committed
Remove double
1 parent 77cecb8 commit a62ba27

File tree

4 files changed

+5
-13
lines changed

4 files changed

+5
-13
lines changed

resources/buildConfigDefinitions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function getENVPrefix(iface) {
5656
return 'PARSE_SERVER_EXPERIMENTAL_IDEMPOTENCY_';
5757
}
5858
if (iface.id.name === 'FileUploadOptions') {
59-
return 'PARSE_SERVER_PARSE_SERVER_FILE_UPLOAD_';
59+
return 'PARSE_SERVER_FILE_UPLOAD_';
6060
}
6161
}
6262

src/Options/Definitions.js

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,6 @@ module.exports.ParseServerOptions = {
149149
action: parsers.booleanParser,
150150
default: false,
151151
},
152-
encryptionKey: {
153-
env: 'PARSE_SERVER_ENCRYPTION_KEY',
154-
help: 'Key for encrypting your files',
155-
},
156152
expireInactiveSessions: {
157153
env: 'PARSE_SERVER_EXPIRE_INACTIVE_SESSIONS',
158154
help: 'Sets wether we should expire the inactive sessions, defaults to true',
@@ -553,25 +549,25 @@ module.exports.IdempotencyOptions = {
553549
};
554550
module.exports.FileUploadOptions = {
555551
enabled: {
556-
env: 'PARSE_SERVER_PARSE_SERVER_FILE_UPLOAD_ENABLED',
552+
env: 'PARSE_SERVER_FILE_UPLOAD_ENABLED',
557553
help: 'Files can be uploaded with Parse Server.',
558554
action: parsers.booleanParser,
559555
default: true,
560556
},
561557
enabledForAnonymousUser: {
562-
env: 'PARSE_SERVER_PARSE_SERVER_FILE_UPLOAD_ENABLED_FOR_ANONYMOUS_USER',
558+
env: 'PARSE_SERVER_FILE_UPLOAD_ENABLED_FOR_ANONYMOUS_USER',
563559
help: 'File upload is enabled for Anonymous Users.',
564560
action: parsers.booleanParser,
565561
default: false,
566562
},
567563
enabledForAuthenticatedUser: {
568-
env: 'PARSE_SERVER_PARSE_SERVER_FILE_UPLOAD_ENABLED_FOR_AUTHENTICATED_USER',
564+
env: 'PARSE_SERVER_FILE_UPLOAD_ENABLED_FOR_AUTHENTICATED_USER',
569565
help: 'File upload is enabled for authenticated users.',
570566
action: parsers.booleanParser,
571567
default: true,
572568
},
573569
enabledForPublic: {
574-
env: 'PARSE_SERVER_PARSE_SERVER_FILE_UPLOAD_ENABLED_FOR_PUBLIC',
570+
env: 'PARSE_SERVER_FILE_UPLOAD_ENABLED_FOR_PUBLIC',
575571
help:
576572
'File upload is enabled for anyone with access to the Parse Server file upload endpoint, regardless of user authentication.',
577573
action: parsers.booleanParser,

src/Options/docs.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
* @property {Boolean} enableAnonymousUsers Enable (or disable) anonymous users, defaults to true
2828
* @property {Boolean} enableExpressErrorHandler Enables the default express error handler for all errors
2929
* @property {Boolean} enableSingleSchemaCache Use a single schema cache shared across requests. Reduces number of queries made to _SCHEMA, defaults to false, i.e. unique schema cache per request.
30-
* @property {String} encryptionKey Key for encrypting your files
3130
* @property {Boolean} expireInactiveSessions Sets wether we should expire the inactive sessions, defaults to true
3231
* @property {String} fileKey Key for your files
3332
* @property {Adapter<FilesAdapter>} filesAdapter Adapter module for the files sub-system

src/Options/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,6 @@ export interface ParseServerOptions {
7777
javascriptKey: ?string;
7878
/* Key for Unity and .Net SDK */
7979
dotNetKey: ?string;
80-
/* Key for encrypting your files
81-
:ENV: PARSE_SERVER_ENCRYPTION_KEY */
82-
encryptionKey: ?string;
8380
/* Key for REST calls
8481
:ENV: PARSE_SERVER_REST_API_KEY */
8582
restAPIKey: ?string;

0 commit comments

Comments
 (0)