rez_core 5.0.271 → 5.0.272
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.idea/250218_ether_core.iml +12 -0
- package/.idea/codeStyles/Project.xml +59 -0
- package/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/dist/module/enterprise/service/organization.service.d.ts +1 -1
- package/dist/module/enterprise/service/organization.service.js +2 -4
- package/dist/module/enterprise/service/organization.service.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/module/enterprise/service/organization.service.ts +6 -4
package/package.json
CHANGED
|
@@ -114,11 +114,13 @@ export class OrganizationService {
|
|
|
114
114
|
async update(
|
|
115
115
|
id: number,
|
|
116
116
|
organizationDto: Partial<OrganizationData>,
|
|
117
|
-
manager?: EntityManager,
|
|
117
|
+
// manager?: EntityManager,
|
|
118
118
|
): Promise<OrganizationData | null> {
|
|
119
|
-
const repo = manager
|
|
120
|
-
|
|
121
|
-
|
|
119
|
+
// const repo = manager
|
|
120
|
+
// ? manager.getRepository(OrganizationData)
|
|
121
|
+
// : this.organizationRepository;
|
|
122
|
+
|
|
123
|
+
const repo = this.organizationRepository;
|
|
122
124
|
|
|
123
125
|
await repo.update(id, organizationDto);
|
|
124
126
|
return await repo.findOne({ where: { id } });
|