From dce868f2acbb0df8cfc9faad09cb3ada007ba613 Mon Sep 17 00:00:00 2001 From: Mike Fitzpatrick Date: Wed, 7 Aug 2019 01:58:21 -0400 Subject: [PATCH] - fixes --- models/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/user.js b/models/user.js index 77f94e2..ca95f5a 100644 --- a/models/user.js +++ b/models/user.js @@ -271,7 +271,7 @@ UserSchema.methods.toProfileJSON = function () { hasLinkedFacebook: !!this.getAuthStrategy('facebook'), hasLinkedGoogle: !!this.getAuthStrategy('google'), hasLocalAccount: !!this.getAuthStrategy('local'), - _id: this.id, + id: this.id, isAllowedToBid: this.isAllowedToBid, isOrganizationEmployee: this.isOrganizationEmployee, isVerified: this.isVerified,