fix(export) - Issue 12482 - Fix messages in xml export.

This commit is contained in:
Bart Enkelaar
2020-09-20 10:45:56 +02:00
parent 411ac94986
commit c4fc2d825d
3 changed files with 84 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
import mongoose from 'mongoose';
import { Schema } from 'mongoose';
import validator from 'validator';
import shared from '../../../common';
import { // eslint-disable-line import/no-cycle
@@ -10,8 +10,6 @@ import { schema as TagSchema } from '../tag';
import { schema as UserNotificationSchema } from '../userNotification';
import { schema as WebhookSchema } from '../webhook';
const { Schema } = mongoose;
const RESTRICTED_EMAIL_DOMAINS = Object.freeze(['habitica.com', 'habitrpg.com']);
// User schema definition