We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f47b04 commit 5791130Copy full SHA for 5791130
src/Adapters/Auth/instagram.js
@@ -8,7 +8,7 @@ function validateAuthData(authData) {
8
const apiURL = authData.apiURL || defaultURL;
9
const path = `${apiURL}me?fields=id&access_token=${authData.access_token}`;
10
return httpsRequest.get(path).then(response => {
11
- if (response && response.data && response.data.id == authData.id) {
+ if (response && response.id == authData.id) {
12
return;
13
}
14
throw new Parse.Error(Parse.Error.OBJECT_NOT_FOUND, 'Instagram auth is invalid for this user.');
0 commit comments