mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
fix: version is not defined
This commit is contained in:
@@ -19,7 +19,7 @@ class Migrations {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_migrationFunction(collectionId) {
|
_migrationFunction(collectionId) {
|
||||||
let migrationFunction = migrations[version][collectionId];
|
let migrationFunction = migrations[this.dbVersion][collectionId];
|
||||||
if (!migrationFunction)
|
if (!migrationFunction)
|
||||||
migrationFunction = migrations[CURRENT_DATABASE_VERSION][collectionId];
|
migrationFunction = migrations[CURRENT_DATABASE_VERSION][collectionId];
|
||||||
return migrationFunction;
|
return migrationFunction;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "notes-core",
|
"name": "notes-core",
|
||||||
"version": "3.1.0",
|
"version": "3.1.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"main": "./api/index.js",
|
"main": "./api/index.js",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
Reference in New Issue
Block a user