Skip to content

Commit 701cab8

Browse files
committed
fix: Simplify response handling in the /auth/mcp/me route
1 parent 1e75245 commit 701cab8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

server/routes/auth-mcp.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@ async function authPlugin(fastify) {
6262
const accessToken = req.encryptedSession.get('mcp_accessToken');
6363

6464
const isAuthenticated = Boolean(accessToken);
65-
reply.send({ isAuthenticated });
66-
67-
return reply;
65+
return reply.send({ isAuthenticated });
6866
});
6967
}
7068

0 commit comments

Comments
 (0)