- fixes
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user