goby-database 1.0.8 → 1.0.9

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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -784,7 +784,7 @@ class Project{
784
784
  properties:JSON.stringify(properties),
785
785
  concept_id
786
786
  });
787
- let block_id=this.db.prepare(`SELECT block_id FROM workspace_${workspace_id} ORDER BY block_id DESC`).get().id;
787
+ let block_id=this.db.prepare(`SELECT block_id FROM workspace_${workspace_id} ORDER BY block_id DESC`).get().block_id;
788
788
  return block_id;
789
789
 
790
790
  }
@@ -813,7 +813,7 @@ class Project{
813
813
  properties:block_properties,
814
814
  concept_id
815
815
  })
816
-
816
+
817
817
  return {
818
818
  concept_id,
819
819
  block_id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "goby-database",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "This will hold the core better-sqlite3-powered application for creating and modifying goby databases",
5
5
  "main": "index.js",
6
6
  "scripts": {