Skip to content

Commit 6c55e78

Browse files
committed
hotfix: quotation error
1 parent 7961b82 commit 6c55e78

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

packages/utils/src/apis/duri/quotation.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
import { duriInstance } from '@duri-fe/utils';
22

3-
import { QuotationDetailResponse, QuotationListResponse, RequestDetailResponse, RequestItemsResponse } from '../types';
3+
import {
4+
QuotationDetailResponse,
5+
QuotationListResponse,
6+
RequestDetailResponse,
7+
RequestItemsResponse,
8+
} from '../types';
49

510
//고객 -> 미용사 (request)견적서 상세조회
611
export const getDetailRequestQuotaion = async (
@@ -12,7 +17,7 @@ export const getDetailRequestQuotaion = async (
1217
export const getDetailResponseQuotaion = async (
1318
requestId: number,
1419
): Promise<QuotationDetailResponse['response']> => {
15-
const response = await duriInstance.get(`/quotation/request/${requestId}`);
20+
const response = await duriInstance.get(`/quotation/${requestId}`);
1621
return response.data.response;
1722
};
1823

@@ -41,4 +46,4 @@ export const getRequestItems = async (): Promise<
4146
> => {
4247
const response = await duriInstance.get(`quotation/request`);
4348
return response.data.response;
44-
};
49+
};

0 commit comments

Comments
 (0)