@opengis/fastify-table 1.0.66 → 1.0.68

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/Changelog.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # fastify-table
2
2
 
3
+ ## 1.0.68- 26.07.2024
4
+
5
+ - code optimization
6
+
3
7
  ## 1.0.66 - 25.07.2024
4
8
 
5
9
  - add notification compile template from data params support
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengis/fastify-table",
3
- "version": "1.0.66",
3
+ "version": "1.0.68",
4
4
  "type": "module",
5
5
  "description": "core-plugins",
6
6
  "main": "index.js",
@@ -15,7 +15,7 @@ export default async function suggest(req) {
15
15
  if (!selectName) return { headers, status: 400, message: 'name is required' };
16
16
 
17
17
  const meta = await getSelectMeta({ name: selectName });
18
- const pg = meta.db ? getPG({ db: meta.db }) : pg1;
18
+ const pg = meta.db ? getPG(meta.db) : pg1;
19
19
  if (!meta) return { headers, status: 404, message: 'Not found query select ' };
20
20
 
21
21
  const { arr, searchQuery } = meta;