Skip to content

Commit ffdb882

Browse files
committed
Update Definitions.js
1 parent 755e967 commit ffdb882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Options/Definitions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ module.exports.ParseServerOptions = {
211211
default: false,
212212
},
213213
encodeParseObjectInCloudFunction: {
214-
env: 'PARSE_SERVER_ENCODE_POINTER_IN_CLOUD_FUNCTION',
214+
env: 'PARSE_SERVER_ENCODE_PARSE_OBJECT_IN_CLOUD_FUNCTION',
215215
help:
216216
'If set to `true`, a `Parse.Pointer` that is in the payload when calling a Cloud Function will be converted to an instance of a `Parse.Pointer`. If `false`, the object will not be converted and instead be a plain JavaScript object, which contains the raw data of a `Parse.Pointer` but is not an actual instance of a `Parse.Pointer`. Default is `false`. <br><br>\u2139\uFE0F The expected behavior would be that the object is converted to an instance of `Parse.Pointer`, so you would normally set this option to `true`. The default is `false` because this is a temporary option that has been introduced to avoid a breaking change when fixing a bug where `Parse.Pointer` objects are not converted to actual instances of `Parse.Pointer`.',
217217
action: parsers.booleanParser,

0 commit comments

Comments
 (0)