Skip to content

Commit

Permalink
refactor: api url 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
qwer0114 authored and qwer0114 committed Nov 26, 2024
1 parent 5764149 commit 94d03db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/client/src/api/trade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ export async function trade(params: TradeAPI): Promise<Trade> {
}

export async function checkCoin(coin: string): Promise<CheckCoin> {
const response = await authInstance.get(`/trade/check-coinData/${coin}`);
const response = await authInstance.get(`/trade/check-coindata?coin=${coin}`);
return response.data;
}

export async function pendingCoin(coin: string): Promise<PendingCoinAPI> {
const response = await authInstance.get(`/trade/tradeData/${coin}`);
const response = await authInstance.get(`/trade/tradeData?coin=${coin}`);
return response.data;
}

0 comments on commit 94d03db

Please sign in to comment.