Skip to content

Commit 3e343df

Browse files
committed
Fix for JS SDK needing a key
1 parent 791c551 commit 3e343df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function ParseServer({
8080
cloud,
8181
collectionPrefix = '',
8282
clientKey = '',
83-
javascriptKey = randomString(20),
83+
javascriptKey = '',
8484
dotNetKey = '',
8585
restAPIKey = '',
8686
fileKey = 'invalid-file-key',
@@ -92,7 +92,7 @@ function ParseServer({
9292
}) {
9393

9494
// Initialize the node client SDK automatically
95-
Parse.initialize(appId, javascriptKey, masterKey);
95+
Parse.initialize(appId, javascriptKey || 'unused', masterKey);
9696
Parse.serverURL = serverURL;
9797

9898
if (databaseAdapter) {

0 commit comments

Comments
 (0)