lrf402788946 hace 4 años
padre
commit
0451365519
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);