From 75f9b06e902bac2fe5e17290df86dac614dea787 Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Wed, 3 Jun 2015 16:48:17 -0700 Subject: [PATCH] fix incorrect model name --- common/models/nonprofit.json | 2 +- common/models/story.json | 2 +- common/models/user.json | 4 ++-- server/model-config.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/models/nonprofit.json b/common/models/nonprofit.json index fdc3d673ce..e4347dcc6b 100644 --- a/common/models/nonprofit.json +++ b/common/models/nonprofit.json @@ -18,7 +18,7 @@ "projectDescription": "string", "logoUrl": "string", "imageUrl": "string", - "estimatedHours": 0, + "estimatedHours": "number", "interestedCampers": [], "confirmedCampers": [], "currentStatus": "string" diff --git a/common/models/story.json b/common/models/story.json index 2e46a9f606..2ce2dc5ce4 100644 --- a/common/models/story.json +++ b/common/models/story.json @@ -1,5 +1,5 @@ { - "name": "bonfire", + "name": "story", "base": "PersistedModel", "trackChanges": false, "idInjection": true, diff --git a/common/models/user.json b/common/models/user.json index 5bdab4a1b6..97f8f0b36e 100644 --- a/common/models/user.json +++ b/common/models/user.json @@ -1,6 +1,6 @@ { - "name": "bonfire", - "base": "PersistedModel", + "name": "user", + "base": "User", "trackChanges": false, "idInjection": true, "properties": { diff --git a/server/model-config.json b/server/model-config.json index dedcb678b2..dd5f43e0c6 100644 --- a/server/model-config.json +++ b/server/model-config.json @@ -38,7 +38,7 @@ "dataSource": "db", "public": true }, - "field-guide": { + "fieldGuide": { "dataSource": "db", "public": true },