Skip to content

Commit

Permalink
Fix type for /v2/commerce/prices
Browse files Browse the repository at this point in the history
  • Loading branch information
darthmaim committed Jul 22, 2024
1 parent c4f35a3 commit eba7a59
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/silver-dogs-reflect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@gw2api/types": patch
---

Fix type for `/v2/commerce/prices`
4 changes: 2 additions & 2 deletions packages/types/data/commerce.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ type ListingDetail = PriceDetail & {
export type Price = {
id: number,
whitelisted: boolean,
buys: PriceDetail[],
sells: PriceDetail[],
buys: PriceDetail,
sells: PriceDetail,
}

export type Listing = {
Expand Down

0 comments on commit eba7a59

Please sign in to comment.