Skip to content

Commit 1857b2c

Browse files
dplewisdavimacedo
authored andcommitted
Fix User Subclass Documentation (#690)
1 parent ff0210e commit 1857b2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_includes/js/objects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class CustomUser extends Parse.User {
101101
return 5;
102102
}
103103
}
104-
Parse.Object.registerSubclass('CustomUser', CustomUser);
104+
Parse.Object.registerSubclass('_User', CustomUser);
105105
```
106106

107107
In addition to queries, `logIn` and `signUp` will return the subclass `CustomUser`.

0 commit comments

Comments
 (0)