From 28e8ec2d2c16e8be478be338e21863bafc1e394b Mon Sep 17 00:00:00 2001 From: Matteo Pagliazzi Date: Sat, 7 Jan 2017 11:47:19 +0100 Subject: [PATCH] add BOSS_DAMAGE to valid notifications --- website/server/models/userNotification.js | 1 + 1 file changed, 1 insertion(+) diff --git a/website/server/models/userNotification.js b/website/server/models/userNotification.js index 1fec849c35..639017cc77 100644 --- a/website/server/models/userNotification.js +++ b/website/server/models/userNotification.js @@ -17,6 +17,7 @@ const NOTIFICATION_TYPES = [ 'LOGIN_INCENTIVE', 'GROUP_INVITE_ACCEPTED', 'SCORED_TASK', + 'BOSS_DAMAGE', // Not used currently but kept to avoid validation errors ]; const Schema = mongoose.Schema;