rez_core 3.1.173 → 3.1.174

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": "3.1.173",
3
+ "version": "3.1.174",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -388,10 +388,9 @@ export class WrapperService {
388
388
  let templates = await this.datasource.query(
389
389
  `SELECT id FROM cr_wf_comm_template
390
390
  WHERE code = ?
391
- AND level_id = ?
392
- AND level_type = ?
391
+ ORDER BY 1 DESC
393
392
  LIMIT 1`,
394
- [payload.template_code, levelId, levelType],
393
+ [payload.template_code],
395
394
  );
396
395
 
397
396
  if (templates && templates.length > 0) {