feat: add tagging alerts and sorting on tags
This commit is contained in:
@@ -25,6 +25,7 @@ const notificationSchema = new mongoose.Schema({
|
||||
type: mongoose.Types.ObjectId,
|
||||
ref: "user",
|
||||
},
|
||||
taggedUsers: Array,
|
||||
});
|
||||
|
||||
export const notificationFields = Object.keys(notificationSchema.paths).filter(
|
||||
|
||||
Reference in New Issue
Block a user