Skip to content

Commit

Permalink
Merge pull request #96 from Duri-Salon/hotfix/quotation
Browse files Browse the repository at this point in the history
[hotfix] quotation error
  • Loading branch information
leejin-rho authored Dec 20, 2024
2 parents 7961b82 + 6c55e78 commit 9a57cff
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions packages/utils/src/apis/duri/quotation.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import { duriInstance } from '@duri-fe/utils';

import { QuotationDetailResponse, QuotationListResponse, RequestDetailResponse, RequestItemsResponse } from '../types';
import {
QuotationDetailResponse,
QuotationListResponse,
RequestDetailResponse,
RequestItemsResponse,
} from '../types';

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

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

0 comments on commit 9a57cff

Please sign in to comment.