lrf402788946 4 năm trước cách đây
mục cha
commit
0451365519
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/service/school.js

+ 1 - 1
app/service/school.js

@@ -137,7 +137,7 @@ class SchoolService extends CrudService {
           type,
         };
         job.reason = reason;
-        await res.save(job);
+        await this.jmodel.create(job);
       }
 
       throw new BusinessError(ErrorCode.SERVICE_FAULT, reason);