Hotfix: cloud option should be a string
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user