Skip to content

Commit

Permalink
[FIX] #2 - 취업교육검색 - 결과 데이터 페이지당 11개씩으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
charBS0701 committed Aug 8, 2023
1 parent 907a644 commit 272e0b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/JobEdu/jobEduController.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const getJobEduById = async (req, res) => {
export const getJobEduBySearch = async (req, res) => {
const keyword = req.query.keyword;
const page = req.query.page || 1; // 페이지 번호가 주어지지 않은 경우 기본값은 1
const pageSize = req.query.pageSize || 10; // 페이지 크기가 주어지지 않은 경우 기본값은 10
const pageSize = req.query.pageSize || 11; // 페이지 크기가 주어지지 않은 경우 기본값은 1
if (!keyword) {
return res.status(400).json({ error: "keyword is required" });
}
Expand Down

0 comments on commit 272e0b0

Please sign in to comment.