Skip to content

Commit 95cea92

Browse files
committed
Added detail comment to the ParseServer constructor for cloud function
1 parent 4bda6e4 commit 95cea92

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ addParseCloud();
2323
// and delete
2424
// "databaseURI": a uri like mongodb://localhost:27017/dbname to tell us
2525
// what database this Parse API connects to.
26-
// "cloud": relative location to cloud code to require
26+
// "cloud": relative location to cloud code to require, or a function
27+
// that is given an instance of Parse as a parameter. Use this instance of Parse
28+
// to register your cloud code hooks and functions.
2729
// "appId": the application id to host
2830
// "masterKey": the master key for requests to this app
2931
// "facebookAppIds": an array of valid Facebook Application IDs, required

0 commit comments

Comments
 (0)