Skip to content

Commit

Permalink
Sosynpl[premieroctet#150]: changed dedicated_admin to be multiple
Browse files Browse the repository at this point in the history
  • Loading branch information
SeghirOumo committed Jul 30, 2024
1 parent 5ca0278 commit 217a2dd
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -345,9 +345,13 @@ const CustomerFreelanceSchema = new Schema({
required: false,
},
dedicated_admin: {
type: Schema.Types.ObjectId,
ref: 'user',
required: false
type: [{
type: Schema.Types.ObjectId,
ref: 'user',
required: false
}],
default: [],
required: false,
},
identity_proof_1: {
type: String,
Expand Down

0 comments on commit 217a2dd

Please sign in to comment.