fix
This commit is contained in:
@@ -11,7 +11,7 @@ FilesSchema.virtual('url').get(file)
|
||||
|
||||
const RepresentationSchema = mongoose.Schema({
|
||||
// user info
|
||||
user_id: { type: mongoose.ObjectId, ref: 'User' },
|
||||
user_id: { type: String, ref: 'User' },
|
||||
representation_code: String,
|
||||
agent_code: String,
|
||||
editAccess: { type: Boolean, default: false },
|
||||
|
||||
Reference in New Issue
Block a user