Skip to content

Commit 576f748

Browse files
harryadelitalojs
authored andcommitted
Refactor updateMMR method to use createMethod for improved consistency
1 parent e106b56 commit 576f748

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guide/source/security.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ export const MMR = {
352352

353353
```js
354354
// In a file loaded on client and server
355-
Meteor.users.methods.updateMMR = new ValidatedMethod({
355+
Meteor.users.methods.updateMMR = new createMethod({
356356
name: 'Meteor.users.methods.updateMMR',
357357
validate: null,
358358
run() {

0 commit comments

Comments
 (0)