reloaded 4 년 전
부모
커밋
d3f69cbf2c
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      app/service/notice.js

+ 3 - 0
app/service/notice.js

@@ -84,6 +84,9 @@ class NoticeService extends CrudService {
       userinfo = await this.schmodel.findById(user.uid);
     } else if (user.type === '3') {
       userinfo = await this.teamodel.findById(user.uid);
+      if (userinfo) {
+        delete userinfo.status;
+      }
     } else if (user.type === '4') {
       userinfo = await this.stumodel.findById(user.uid);
     }