rez_core 5.0.129 → 5.0.130

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.129",
3
+ "version": "5.0.130",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -189,21 +189,13 @@ export class EntityListService {
189
189
  parentType: string | null,
190
190
  parentId: number | null,
191
191
  ) {
192
-
193
192
  const result = await repo
194
- .createQueryBuilder()
195
- .select("MAX(id)", "seq_no")
196
- .getRawOne();
197
-
198
- const seqNo = result?.seq_no ?? 0;
193
+ .createQueryBuilder()
194
+ .select('MAX(id)', 'seq_no')
195
+ .getRawOne();
199
196
 
200
- const argsObjectList: any[] = [];
201
- // if (parentId) {
202
- // query += ` AND parent_id = ? AND parent_type = ? `;
203
- // argsObjectList.push(parentId);
204
- // argsObjectList.push(parentType);
205
- // }
197
+ const seqNo = result?.seq_no ?? 0;
206
198
 
207
- return result ? result[0].seq_no : 0;
199
+ return seqNo;
208
200
  }
209
201
  }