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