From 4062b0bb52c3d10c0bf91c789f0831853cd1a377 Mon Sep 17 00:00:00 2001 From: Florent Vilmart Date: Wed, 25 Oct 2017 10:57:30 -0400 Subject: [PATCH] The REST API key was improperly inferred from environment --- 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 40a3f4a8ab..4137b8d769 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 261908afe8..4b5020d285 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;