Skip to content

Commit 2e92cec

Browse files
committed
useParseParams join() 오타 수정
1 parent dfac369 commit 2e92cec

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/hooks/useParseParams.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const useParseParams = () => {
55
const newParams = {
66
...params,
77
mainCategoryIds: params.mainCategoryIds.join(','),
8-
categoryIds: params.categoryIds.join(''),
8+
categoryIds: params.categoryIds.join(','),
99
taskStatus: params.taskStatus?.join(',')
1010
}
1111
return newParams
@@ -15,7 +15,7 @@ export const useParseParams = () => {
1515
const newParams = {
1616
...params,
1717
mainCategoryIds: params.mainCategoryIds.join(','),
18-
categoryIds: params.categoryIds.join('')
18+
categoryIds: params.categoryIds.join(',')
1919
}
2020
return newParams
2121
}

src/components/my-request/MyRequestList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const fetchRequestList = async () => {
4646
headers: {
4747
Authorization: `Bearer ${import.meta.env.VITE_ACCESS_TOKEN}`
4848
},
49-
params: { ...parsedParams, pageSize: 1 }
49+
params: parsedParams
5050
})
5151
return response.data
5252
}

0 commit comments

Comments
 (0)