Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: pass this.context to session manger

thecodrrf6673b42716f
diff --git a/packages/core/api/index.js b/packages/core/api/index.js
index d3f4f6bfa..498ed612e 100644
--- a/packages/core/api/index.js
+++ b/packages/core/api/index.js
@@ -28,7 +28,7 @@ class Database {
}
async init() {
- this.session = new Session();
+ this.session = new Session(this.context);
this._validate();
this.user = new User(this);