We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bfeb01 commit 2ab560eCopy full SHA for 2ab560e
libraries/nestjs-libraries/src/chat/start.mcp.ts
@@ -38,7 +38,8 @@ export const startMcp = async (app: INestApplication) => {
38
req.auth = await organizationService.getOrgByApiKey(req.params.id);
39
// @ts-ignore
40
if (!req.auth) {
41
- throw new HttpException('Invalid API Key', 400);
+ res.status(400).send('Invalid API Key');
42
+ return ;
43
}
44
45
const url = new URL(
0 commit comments