From a185c97557eed2459df3d925731e1f2a8565abd5 Mon Sep 17 00:00:00 2001 From: Florent Vilmart Date: Wed, 25 Oct 2017 11:46:40 -0400 Subject: [PATCH] The REST API key was improperly inferred from environment (#4292) --- src/Options/Definitions.js | 2 +- src/Options/index.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Options/Definitions.js b/src/Options/Definitions.js index 40a3f4a8..4137b8d7 100644 --- a/src/Options/Definitions.js +++ b/src/Options/Definitions.js @@ -120,7 +120,7 @@ module.exports.ParseServerOptions = { "help": "Key for Unity and .Net SDK" }, "restAPIKey": { - "env": "PARSE_SERVER_REST_APIKEY", + "env": "PARSE_SERVER_REST_API_KEY", "help": "Key for REST calls" }, "webhookKey": { diff --git a/src/Options/index.js b/src/Options/index.js index 261908af..4b5020d2 100644 --- a/src/Options/index.js +++ b/src/Options/index.js @@ -55,7 +55,8 @@ export interface ParseServerOptions { javascriptKey: ?string; /* Key for Unity and .Net SDK */ dotNetKey: ?string; - /* Key for REST calls */ + /* Key for REST calls + :ENV: PARSE_SERVER_REST_API_KEY */ restAPIKey: ?string; /* Key sent with outgoing webhook calls */ webhookKey: ?string;