fix: 오류 수정
- 예약 물품 조회 시 인터넷 예약만 조회됨 -> 모든 예약물품 조회
This commit is contained in:
@@ -106,6 +106,7 @@ interface ReserveItemSearchPayload extends SearchPayload {
|
||||
locationId?: string
|
||||
categoryId?: string
|
||||
isUse?: boolean
|
||||
isPopup?: boolean
|
||||
}
|
||||
|
||||
export const reserveItemService = {
|
||||
@@ -117,6 +118,7 @@ export const reserveItemService = {
|
||||
locationId,
|
||||
categoryId,
|
||||
isUse = false,
|
||||
isPopup = false,
|
||||
}: ReserveItemSearchPayload) => {
|
||||
return useSWR<Page, AxiosError>(
|
||||
[
|
||||
@@ -126,6 +128,7 @@ export const reserveItemService = {
|
||||
locationId,
|
||||
categoryId,
|
||||
isUse,
|
||||
isPopup,
|
||||
],
|
||||
url =>
|
||||
common.fetcher(url, {
|
||||
@@ -134,6 +137,7 @@ export const reserveItemService = {
|
||||
locationId,
|
||||
categoryId,
|
||||
isUse,
|
||||
isPopup,
|
||||
}),
|
||||
|
||||
{ revalidateOnFocus: false, errorRetryCount: 0 },
|
||||
|
||||
Reference in New Issue
Block a user