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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rez_core",
3
- "version": "5.0.271",
3
+ "version": "5.0.272",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -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
- ? manager.getRepository(OrganizationData)
121
- : this.organizationRepository;
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 } });