Skip to content

Commit

Permalink
Update cloud-code.md (parse-community#810)
Browse files Browse the repository at this point in the history
  • Loading branch information
dblythy committed Jan 5, 2021
1 parent 3235364 commit a1c91f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/cloudcode/cloud-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ Parse.Cloud.define("averageStars", async (request) => {
required: true,
type: String,
options: val => {
return val < 20;
return val.length < 20;
},
error: "Movie must be less than 20 characters"
}
Expand Down

0 comments on commit a1c91f3

Please sign in to comment.