File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ import { LoggerController } from './Controllers/LoggerController';
39
39
import { HooksController } from './Controllers/HooksController' ;
40
40
41
41
import requiredParameter from './requiredParameter' ;
42
+ import { randomString } from './cryptoUtils' ;
42
43
// Mutate the Parse object to add the Cloud Code handlers
43
44
addParseCloud ( ) ;
44
45
@@ -79,7 +80,7 @@ function ParseServer({
79
80
cloud,
80
81
collectionPrefix = '' ,
81
82
clientKey = '' ,
82
- javascriptKey = '' ,
83
+ javascriptKey = randomString ( 20 ) ,
83
84
dotNetKey = '' ,
84
85
restAPIKey = '' ,
85
86
fileKey = 'invalid-file-key' ,
@@ -227,4 +228,4 @@ function getClassName(parseClass) {
227
228
module . exports = {
228
229
ParseServer : ParseServer ,
229
230
S3Adapter : S3Adapter
230
- } ;
231
+ } ;
You can’t perform that action at this time.
0 commit comments