Skip to content

Commit 19d17d8

Browse files
committed
Merge pull request #478 from flovilmart/flovilmart.hotfix.facebook.appId.Validation
Moved the proper facebook auth data validation
2 parents b1ab388 + d42b080 commit 19d17d8

File tree

2 files changed

+2
-59
lines changed

2 files changed

+2
-59
lines changed

src/facebook.js

Lines changed: 0 additions & 58 deletions
This file was deleted.

src/oauth/facebook.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ function validateAuthData(authData) {
1616
}
1717

1818
// Returns a promise that fulfills iff this app id is valid.
19-
function validateAppId(appIds, access_token) {
19+
function validateAppId(appIds, authData) {
20+
var access_token = authData.access_token;
2021
if (!appIds.length) {
2122
throw new Parse.Error(
2223
Parse.Error.OBJECT_NOT_FOUND,

0 commit comments

Comments
 (0)