message: progress export
diff: @@ -79,9 +79,12 @@ progressSchema.statics.exportPersonalUserData = async function (user: IUser) {
  return Promise.all(userProgress.map( async (prog) => {
  let progExport;
  - if (prog.__t === 'task-unit-progress') {
  +
  + switch (prog.__t) {
  + case 'task-unit-progress':
  progExport = await (<ITaskUnitProgressModel>prog).exportJSON();
  - } else {
  + break;
  + default:
  progExport = await (<IProgressModel>prog).exportJSON();
  }
  