Skip to content

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.

fix(server): failed to share again if disable once (#4844)

liuyif75684d6f61a
diff --git a/packages/backend/server/src/modules/workspaces/permission.ts b/packages/backend/server/src/modules/workspaces/permission.ts
index 07c12eeeee..b6e9a20843 100644
--- a/packages/backend/server/src/modules/workspaces/permission.ts
+++ b/packages/backend/server/src/modules/workspaces/permission.ts
@@ -291,6 +291,7 @@ export class PermissionService {
},
},
update: {
+ public: true,
mode,
},
create: {