Skip to content

Commit 740332b

Browse files
committed
Fixed facebook login issue.
1 parent 82e183c commit 740332b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

facebook.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function validateAppId(appIds, access_token) {
2424
}
2525
return graphRequest('app?access_token=' + access_token)
2626
.then((data) => {
27-
if (data && appIds.contains(data.id)) {
27+
if (data && appIds.indexOf(data.id) != -1) {
2828
return;
2929
}
3030
throw new Parse.Error(

0 commit comments

Comments
 (0)