Skip to content

Commit a185c97

Browse files
authored
The REST API key was improperly inferred from environment (#4292)
1 parent 3bb9e0e commit a185c97

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Options/Definitions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ module.exports.ParseServerOptions = {
120120
"help": "Key for Unity and .Net SDK"
121121
},
122122
"restAPIKey": {
123-
"env": "PARSE_SERVER_REST_APIKEY",
123+
"env": "PARSE_SERVER_REST_API_KEY",
124124
"help": "Key for REST calls"
125125
},
126126
"webhookKey": {

src/Options/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ export interface ParseServerOptions {
5555
javascriptKey: ?string;
5656
/* Key for Unity and .Net SDK */
5757
dotNetKey: ?string;
58-
/* Key for REST calls */
58+
/* Key for REST calls
59+
:ENV: PARSE_SERVER_REST_API_KEY */
5960
restAPIKey: ?string;
6061
/* Key sent with outgoing webhook calls */
6162
webhookKey: ?string;

0 commit comments

Comments
 (0)