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 1bd317c commit e7d87caCopy full SHA for e7d87ca
backend/question/src/controller/search-controller.ts
@@ -7,7 +7,7 @@ export const searchQuestionsByTitle = async (req: Request, res: Response): Promi
7
const limit = parseInt(req.query.limit as string) || 10;
8
9
if (!title) {
10
- return res.status(200).json({ message: 'Title is required' });
+ return res.status(200);
11
}
12
13
try {
0 commit comments