This commit is contained in:
2019-08-07 01:58:21 -04:00
parent cd6fa1fc06
commit dce868f2ac

View File

@@ -271,7 +271,7 @@ UserSchema.methods.toProfileJSON = function () {
hasLinkedFacebook: !!this.getAuthStrategy('facebook'), hasLinkedFacebook: !!this.getAuthStrategy('facebook'),
hasLinkedGoogle: !!this.getAuthStrategy('google'), hasLinkedGoogle: !!this.getAuthStrategy('google'),
hasLocalAccount: !!this.getAuthStrategy('local'), hasLocalAccount: !!this.getAuthStrategy('local'),
_id: this.id, id: this.id,
isAllowedToBid: this.isAllowedToBid, isAllowedToBid: this.isAllowedToBid,
isOrganizationEmployee: this.isOrganizationEmployee, isOrganizationEmployee: this.isOrganizationEmployee,
isVerified: this.isVerified, isVerified: this.isVerified,