Skip to content

Commit 5ca4844

Browse files
dharamgollapudiflovilmart
authored andcommitted
Fix a typo (#2563)
Update connectionPrefix with collectionPrefix
1 parent 23e47f2 commit 5ca4844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ParseServer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ class ParseServer {
143143
Parse.initialize(appId, javascriptKey || 'unused', masterKey);
144144
Parse.serverURL = serverURL;
145145
if ((databaseOptions || (databaseURI && databaseURI != defaults.DefaultMongoURI) || collectionPrefix !== '') && databaseAdapter) {
146-
throw 'You cannot specify both a databaseAdapter and a databaseURI/databaseOptions/connectionPrefix.';
146+
throw 'You cannot specify both a databaseAdapter and a databaseURI/databaseOptions/collectionPrefix.';
147147
} else if (!databaseAdapter) {
148148
databaseAdapter = new MongoStorageAdapter({
149149
uri: databaseURI,

0 commit comments

Comments
 (0)