Skip to content

Commit 9b8846b

Browse files
authored
Update cloud-code.md (#784)
1 parent 4275a4c commit 9b8846b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_includes/cloudcode/cloud-code.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ If there is an error, the response in the client looks like:
127127

128128
## Implementing cloud function validation
129129

130-
*Available only on parse-server cloud code starting 4.-.-*
130+
*Available only on parse-server cloud code starting 4.4.0*
131131

132-
It's important to make sure the parameters required for a Cloud function are provided, and are in the necessary format. Starting with Parse Server 4.-.-, you can now specify a validator function or object which will be called prior to your cloud function.
132+
It's important to make sure the parameters required for a Cloud function are provided, and are in the necessary format. Starting with Parse Server 4.4.0, you can now specify a validator function or object which will be called prior to your cloud function.
133133

134134
Let's take a look at the `averageStars` example. If you wanted to make sure that `request.params.movie` is provided, and `averageStars` can only be called by logged in users, you could add a validator object to the function.
135135

0 commit comments

Comments
 (0)