Hotfix: cloud option should be a string

This commit is contained in:
Florent Vilmart
2017-10-23 09:11:08 -04:00
parent 9de4b8b2a7
commit d93b0e1fd9
2 changed files with 2 additions and 3 deletions

View File

@@ -100,8 +100,7 @@ module.exports.ParseServerOptions = {
},
"cloud": {
"env": "PARSE_SERVER_CLOUD",
"help": "Full path to your cloud code main.js",
"action": parsers.objectParser
"help": "Full path to your cloud code main.js"
},
"collectionPrefix": {
"env": "PARSE_SERVER_COLLECTION_PREFIX",

View File

@@ -46,7 +46,7 @@ export interface ParseServerOptions {
/* Adapter module for the database */
databaseAdapter: ?Adapter;
/* Full path to your cloud code main.js */
cloud: ?any;
cloud: ?string;
/* A collection prefix for the classes */
collectionPrefix: ?string; // = ''
/* Key for iOS, MacOS, tvOS clients */