mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
fix invalid push devices
This commit is contained in:
@@ -93,7 +93,6 @@ export const schema = new Schema({
|
||||
* Called by user's post init hook (models/user/hooks.js)
|
||||
*/
|
||||
schema.statics.cleanupCorruptData = function cleanupCorruptNotificationsData (notifications) {
|
||||
console.log('fixing stuff', notifications);
|
||||
if (!notifications) return notifications;
|
||||
|
||||
let filteredNotifications = notifications.filter(notification => {
|
||||
|
||||
Reference in New Issue
Block a user