We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d940057 commit f0c7738Copy full SHA for f0c7738
package/pyconkr-shop/apis/index.ts
@@ -86,7 +86,7 @@ namespace ShopAPIRoute {
86
* @returns 현재 장바구니 상태
87
*/
88
export const retrieveCart = () =>
89
- shopAPIClient.get<ShopAPISchema.OrderProductItem[]>("v1/orders/cart/");
+ shopAPIClient.get<ShopAPISchema.Order>("v1/orders/cart/");
90
91
/**
92
* 장바구니에 상품을 추가합니다.
@@ -138,7 +138,7 @@ namespace ShopAPIRoute {
138
139
export const prepareCartOrder = () =>
140
shopAPIClient.post<ShopAPISchema.Order, undefined>(
141
- "v1/orders/cart/",
+ "v1/orders/",
142
undefined
143
);
144
0 commit comments