Compare commits

..
4 Commits
Author SHA1 Message Date
Fosco Marotto 522abdf606 Updated to 2.0.3 2016-01-30 17:01:13 -08:00
Fosco Marotto 740332bc81 Fixed facebook login issue. 2016-01-30 17:00:51 -08:00
Fosco Marotto 82e183cbc9 Merge pull request #89 from ParsePlatform/fosco.schema
Added another map/object fix
2016-01-30 16:23:26 -08:00
Fosco Marotto 44ee117327 Added another map/object fix 2016-01-30 16:22:35 -08:00
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -138,6 +138,7 @@ Schema.prototype.validateField = function(className, key, type, freeze) {
var expected = this.data[className][key];
if (expected) {
expected = (expected === 'map' ? 'object' : expected);
if (expected === type) {
return Promise.resolve(this);
} else {
+1 -1
View File
@@ -24,7 +24,7 @@ function validateAppId(appIds, access_token) {
}
return graphRequest('app?access_token=' + access_token)
.then((data) => {
if (data && appIds.contains(data.id)) {
if (data && appIds.indexOf(data.id) != -1) {
return;
}
throw new Parse.Error(
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "parse-server",
"version": "2.0.2",
"version": "2.0.3",
"description": "An express module providing a Parse-compatible API server",
"main": "index.js",
"repository": {