@layer-ai/core 0.5.10 → 0.5.11

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.
@@ -31,7 +31,7 @@ router.get('/', async (req, res) => {
31
31
  `;
32
32
  const params = [userId];
33
33
  if (gate) {
34
- query += ` AND gate_name = $2`;
34
+ query += ` AND gate_id = $2`;
35
35
  params.push(gate);
36
36
  }
37
37
  query += ` ORDER BY created_at DESC LIMIT $${params.length + 1} OFFSET $${params.length + 2}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layer-ai/core",
3
- "version": "0.5.10",
3
+ "version": "0.5.11",
4
4
  "description": "Core API routes and services for Layer AI",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",