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): sign out

forehalo2cabc2dd5060
diff --git a/packages/backend/server/src/core/auth/controller.ts b/packages/backend/server/src/core/auth/controller.ts
index cfe1037ea5..d24135e08f 100644
--- a/packages/backend/server/src/core/auth/controller.ts
+++ b/packages/backend/server/src/core/auth/controller.ts
@@ -180,6 +180,7 @@ export class AuthController {
@Query('user_id') userId: string | undefined
) {
if (!session) {
+ res.status(HttpStatus.OK).send({});
return;
}