You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is specifically for facebook since you can't register a auth provider in cloud code (FB doesn't exist).
Removes duplicate logic (linkWith handles the providers)
```
Cannot read property 'getAuthType' of undefined
```
Note: I can't add an integration test for this.
`integration/server.js` uses /node_modules/parse
`integration/tests` uses /lib/node
If they could both use /lib/node that would open the door for testing different cloud code function.
Copy file name to clipboardExpand all lines: src/ParseUser.js
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -213,11 +213,13 @@ class ParseUser extends ParseObject {
213
213
214
214
/**
215
215
* Unlinks a user from a service.
216
+
*
217
+
* @param {String|AuthProvider} provider Name of auth provider or {@link https://parseplatform.org/Parse-SDK-JS/api/master/AuthProvider.html AuthProvider}
0 commit comments