Skip to content

Commit

Permalink
fix: drop obsolete property User.createdBy
Browse files Browse the repository at this point in the history
Leftover from HID Contacts
  • Loading branch information
rupl committed Dec 6, 2021
1 parent 04aceb2 commit 18f5a7c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions api/models/User.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,12 +276,6 @@ const UserSchema = new Schema({
readonly: true,
},

createdBy: {
type: Schema.ObjectId,
ref: 'User',
readonly: true,
},

authorizedClients: [{
type: Schema.ObjectId,
ref: 'Client',
Expand Down

0 comments on commit 18f5a7c

Please # to comment.