change _id to id everywhere that seems relevant to loopback

This commit is contained in:
Quincy Larson
2015-06-04 13:20:42 -07:00
parent a695daa03f
commit 3654bb7e6f
30 changed files with 288 additions and 288 deletions

View File

@ -20,7 +20,7 @@ exports.userMigration = function userMigration(req, res, next) {
req.user.completedBonfires.map(function (bonfire) {
return ({
completedDate: bonfire.completedDate,
_id: bonfire._id,
id: bonfire.id,
name: bonfire.name,
completedWith: bonfire.completedWith,
solution: bonfire.solution,