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": { "cloud": {
"env": "PARSE_SERVER_CLOUD", "env": "PARSE_SERVER_CLOUD",
"help": "Full path to your cloud code main.js", "help": "Full path to your cloud code main.js"
"action": parsers.objectParser
}, },
"collectionPrefix": { "collectionPrefix": {
"env": "PARSE_SERVER_COLLECTION_PREFIX", "env": "PARSE_SERVER_COLLECTION_PREFIX",

View File

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