fix apple auth and update version to 2.8.5
This commit is contained in:
2644
package-lock.json
generated
2644
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "parse-server",
|
"name": "parse-server",
|
||||||
"version": "2.8.4",
|
"version": "2.8.6",
|
||||||
"description": "An express module providing a Parse-compatible API server",
|
"description": "An express module providing a Parse-compatible API server",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
@@ -9,7 +9,8 @@ function validateAuthData(authData, authOptions) {
|
|||||||
console.log("going to validate for apple");
|
console.log("going to validate for apple");
|
||||||
console.log(authData);
|
console.log(authData);
|
||||||
var necessaries = ["timestamp", "salt", "id", "bundleId", "signature", "publicKeyUrl"];
|
var necessaries = ["timestamp", "salt", "id", "bundleId", "signature", "publicKeyUrl"];
|
||||||
for (var necessary in necessaries) {
|
for (var n in necessaries) {
|
||||||
|
var necessary = necessaries[n];
|
||||||
if (!(necessary in authData)) {
|
if (!(necessary in authData)) {
|
||||||
error("Auth data does not have property " + necessary);
|
error("Auth data does not have property " + necessary);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user