Skip to content

Commit 17374ef

Browse files
TylerBrockflovilmart
authored andcommitted
Round out webhookKey support in cli, docs, and Config (#1936)
1 parent 181b127 commit 17374ef

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

src/Config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export class Config {
2828
this.javascriptKey = cacheInfo.javascriptKey;
2929
this.dotNetKey = cacheInfo.dotNetKey;
3030
this.restAPIKey = cacheInfo.restAPIKey;
31+
this.webhookKey = cacheInfo.webhookKey;
3132
this.fileKey = cacheInfo.fileKey;
3233
this.facebookAppIds = cacheInfo.facebookAppIds;
3334
this.allowClientClassCreation = cacheInfo.allowClientClassCreation;

src/ParseServer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ addParseCloud();
7676
// "clientKey": optional key from Parse dashboard
7777
// "dotNetKey": optional key from Parse dashboard
7878
// "restAPIKey": optional key from Parse dashboard
79+
// "webhookKey": optional key from Parse dashboard
7980
// "javascriptKey": optional key from Parse dashboard
8081
// "push": optional key from configure push
8182
// "sessionLength": optional length in seconds for how long Sessions should be valid for

src/cli/cli-definitions.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ export default {
8686
env: "PARSE_SERVER_DOT_NET_KEY",
8787
help: "Key for Unity and .Net SDK"
8888
},
89+
"webhookKey": {
90+
env: "PARSE_SERVER_WEBHOOK_KEY",
91+
help: "Key sent with outgoing webhook calls"
92+
},
8993
"cloud": {
9094
env: "PARSE_SERVER_CLOUD_CODE_MAIN",
9195
help: "Full path to your cloud code main.js"

0 commit comments

Comments
 (0)