|
|
@@ -93,17 +93,17 @@ module.exports = function(crowi) {
|
|
|
};
|
|
|
|
|
|
// classify a list of notification settings into enabled and disabled
|
|
|
- notificationSchema.mothods.classify = settings => {
|
|
|
+ notificationSchema.methods.classify = settings => {
|
|
|
// return resolve({enabled: [Notification], disabled: [Notification]})
|
|
|
};
|
|
|
|
|
|
// returns only enabled notification settings
|
|
|
- notificationSchema.mothods.getEnabeldSettings = settings => {
|
|
|
+ notificationSchema.methods.getEnabeldSettings = settings => {
|
|
|
// return resolve([Notification])
|
|
|
};
|
|
|
|
|
|
// sort a list of notifications by path from short to long
|
|
|
- notificationSchema.mothods.sortByPath = settings => {
|
|
|
+ notificationSchema.methods.sortByPath = settings => {
|
|
|
// return resolve([Notification])
|
|
|
};
|
|
|
|