There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(server): initial user plan (#11687)
darkskygitf2f1a1071511
diff --git a/packages/backend/server/src/core/auth/dev.ts b/packages/backend/server/src/core/auth/dev.tsindex beeff08172..8751ed4978 100644--- a/packages/backend/server/src/core/auth/dev.ts+++ b/packages/backend/server/src/core/auth/dev.ts@@ -50,7 +50,11 @@ export async function createDevUsers(models: Models) {});}for (const feature of features) {- await models.userFeature.add(devUser.id, feature, name);+ if (feature.includes('plan')) {+ await models.userFeature.switchQuota(devUser.id, feature, name);+ } else {+ await models.userFeature.add(devUser.id, feature, name);+ }}if (workspaceFeatures) {for (const feature of workspaceFeatures) {