feat: replace client, agent in the content of the note with their respsective ids
This commit is contained in:
@@ -22,7 +22,7 @@ const notificationSchema = new mongoose.Schema({
|
||||
name: String,
|
||||
avatar: String,
|
||||
},
|
||||
client: mongoose.Types.ObjectId,
|
||||
client: { type: mongoose.Types.ObjectId, ref: "organization" },
|
||||
clientData: Object,
|
||||
createdAt: Date,
|
||||
updatedAt: Date,
|
||||
|
||||
Reference in New Issue
Block a user