From 17374eff8d51e262228aefa0801a5a1d8ca9f633 Mon Sep 17 00:00:00 2001 From: Tyler Brock Date: Sat, 28 May 2016 09:21:55 -0700 Subject: [PATCH] Round out webhookKey support in cli, docs, and Config (#1936) --- src/Config.js | 1 + src/ParseServer.js | 1 + src/cli/cli-definitions.js | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/src/Config.js b/src/Config.js index faaa6c22..8da1b70c 100644 --- a/src/Config.js +++ b/src/Config.js @@ -28,6 +28,7 @@ export class Config { this.javascriptKey = cacheInfo.javascriptKey; this.dotNetKey = cacheInfo.dotNetKey; this.restAPIKey = cacheInfo.restAPIKey; + this.webhookKey = cacheInfo.webhookKey; this.fileKey = cacheInfo.fileKey; this.facebookAppIds = cacheInfo.facebookAppIds; this.allowClientClassCreation = cacheInfo.allowClientClassCreation; diff --git a/src/ParseServer.js b/src/ParseServer.js index bf746fac..2876cd84 100644 --- a/src/ParseServer.js +++ b/src/ParseServer.js @@ -76,6 +76,7 @@ addParseCloud(); // "clientKey": optional key from Parse dashboard // "dotNetKey": optional key from Parse dashboard // "restAPIKey": optional key from Parse dashboard +// "webhookKey": optional key from Parse dashboard // "javascriptKey": optional key from Parse dashboard // "push": optional key from configure push // "sessionLength": optional length in seconds for how long Sessions should be valid for diff --git a/src/cli/cli-definitions.js b/src/cli/cli-definitions.js index c1f6961c..83d263f1 100644 --- a/src/cli/cli-definitions.js +++ b/src/cli/cli-definitions.js @@ -86,6 +86,10 @@ export default { env: "PARSE_SERVER_DOT_NET_KEY", help: "Key for Unity and .Net SDK" }, + "webhookKey": { + env: "PARSE_SERVER_WEBHOOK_KEY", + help: "Key sent with outgoing webhook calls" + }, "cloud": { env: "PARSE_SERVER_CLOUD_CODE_MAIN", help: "Full path to your cloud code main.js"