lrf402788946 %!s(int64=4) %!d(string=hai) anos
pai
achega
5bc45d8ad6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/service/lesson.js

+ 1 - 1
app/service/lesson.js

@@ -324,7 +324,7 @@ class LessonService extends CrudService {
 
   async toSendMsg(teacherInfo, type, term) {
     if (teacherInfo) {
-      console.error(`type:${type};\n email:${teacherInfo.email}; \n qq:${teacherInfo.qq}`);
+      console.error('\n' + teacherInfo + '\n');
       let email;
       if (type === 'headteacher') {
         const { qq } = teacherInfo;