Notification Digesting

This commit is contained in:
Wyatt Johnson
2018-03-06 16:20:15 -07:00
parent 801fc8bc15
commit 9cc9969320
20 changed files with 643 additions and 200 deletions
@@ -12,6 +12,9 @@ module.exports = {
}
},
},
NotificationSettings: {
digestFrequency: settings => get(settings, 'digestFrequency', 'NONE'),
},
RootMutation: {
async updateNotificationSettings(obj, { input }, { mutators: { User } }) {
await User.updateNotificationSettings(input);