Skip to content

Commit b14d2d4

Browse files
authored
Update users.md
1 parent ea247c5 commit b14d2d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_includes/js/users.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ let myAuthData = {
420420
"auth_token_secret": "SaMpLeEb13SpRzQ4DAIzutEkCE2LBIm2ZQDsP3WUU"
421421
}
422422
let user = new Parse.User();
423-
user._linkWith('twitter', myAuthData).then(function(user){
423+
user._linkWith('twitter', { authData: myAuthData }).then(function(user){
424424
// user
425425
});
426426
```
@@ -481,7 +481,7 @@ let myAuthData = {
481481
}
482482
let user = new Parse.User();
483483
user.id = "uMz0YZeAqc";
484-
user._linkWith("facebook", myAuthData).then(function(user){
484+
user._linkWith("facebook", { authData: myAuthData }).then(function(user){
485485
// user is linked now
486486
});
487487
```

0 commit comments

Comments
 (0)