Skip to content

Commit b2165f6

Browse files
committed
Fix some typos
1 parent 5c711b5 commit b2165f6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/controllers/interview.controller.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ export const getInterviews = async (req: Request, res: Response) => {
77
const limit = parseInt(req.query.limit as string) || 10;
88

99
if(isNaN(page) || page<1){
10-
throw new ApiError("Page must me greater than or equal to 1",400);
10+
throw new ApiError("Page must be greater than or equal to 1",400);
1111
}
1212
if(isNaN(limit) || limit<1 || limit>100){
13-
throw new ApiError("Limit must me between 1 to 100",400)
13+
throw new ApiError("Limit must be between 1 to 100",400)
1414
}
1515

1616
const { interviews, total } = await interviewService.getInterviews(page, limit);

0 commit comments

Comments
 (0)