Skip to content

Commit d93b0e1

Browse files
committed
Hotfix: cloud option should be a string
1 parent 9de4b8b commit d93b0e1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Options/Definitions.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,7 @@ module.exports.ParseServerOptions = {
100100
},
101101
"cloud": {
102102
"env": "PARSE_SERVER_CLOUD",
103-
"help": "Full path to your cloud code main.js",
104-
"action": parsers.objectParser
103+
"help": "Full path to your cloud code main.js"
105104
},
106105
"collectionPrefix": {
107106
"env": "PARSE_SERVER_COLLECTION_PREFIX",

src/Options/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export interface ParseServerOptions {
4646
/* Adapter module for the database */
4747
databaseAdapter: ?Adapter;
4848
/* Full path to your cloud code main.js */
49-
cloud: ?any;
49+
cloud: ?string;
5050
/* A collection prefix for the classes */
5151
collectionPrefix: ?string; // = ''
5252
/* Key for iOS, MacOS, tvOS clients */

0 commit comments

Comments
 (0)