Skip to content

Commit e7d87ca

Browse files
committed
remove json in 200 message
1 parent 1bd317c commit e7d87ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/question/src/controller/search-controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const searchQuestionsByTitle = async (req: Request, res: Response): Promi
77
const limit = parseInt(req.query.limit as string) || 10;
88

99
if (!title) {
10-
return res.status(200).json({ message: 'Title is required' });
10+
return res.status(200);
1111
}
1212

1313
try {

0 commit comments

Comments
 (0)