ztechno_core 0.0.47 → 0.0.48

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.
@@ -63,9 +63,9 @@ class ZUserService {
63
63
  const rows = await this.sqlService.query(
64
64
  `
65
65
  SELECT user_id, email, role, admin, created_at FROM \`${this.tableName}\`
66
- LIMIT :limit
66
+ LIMIT ?
67
67
  `,
68
- { opt },
68
+ [opt.limit],
69
69
  );
70
70
  return rows;
71
71
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztechno_core",
3
- "version": "0.0.47",
3
+ "version": "0.0.48",
4
4
  "description": "Core files for ztechno framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",