Skip to content

Commit

Permalink
fix(deployment): Update apps/deploy-web/src/queries/useBidQuery.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Iaroslav Gryshaiev <[email protected]>
  • Loading branch information
baktun14 and ygrishajev authored Nov 22, 2024
1 parent 56719f9 commit df845e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/deploy-web/src/queries/useBidQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async function getBidList(apiEndpoint: string, address: string, dseq: string): P
if (!address || !dseq) return null;

const response = await axios.get<{ bids: RpcBid[] }>(ApiUrlService.bidList(apiEndpoint, address, dseq));
const bids = response.data.bids as RpcBid[];
const { bids } = response.data;

return bids.map((b: RpcBid) => ({
id: b.bid.bid_id.provider + b.bid.bid_id.dseq + b.bid.bid_id.gseq + b.bid.bid_id.oseq,
Expand Down

0 comments on commit df845e5

Please sign in to comment.