lrf402788946 %!s(int64=4) %!d(string=hai) anos
pai
achega
0451365519
Modificáronse 1 ficheiros con 1 adicións e 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);