Skip to content

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

fix: remove pro check before att. key generation

thecodrr7cc5421ad2db
diff --git a/packages/core/collections/attachments.js b/packages/core/collections/attachments.js
index e46dfbcd0..5fb6789b1 100644
--- a/packages/core/collections/attachments.js
+++ b/packages/core/collections/attachments.js
@@ -121,9 +121,6 @@ export default class Attachments extends Collection {
}
async generateKey() {
- if (!(await checkIsUserPremium("attachment")))
- throw new Error("Please upgrade your account to Pro to use attachments.");
-
await this._getEncryptionKey();
return await this._db.storage.generateRandomKey();
}