Closed cohenaj194 closed 2 months ago
The update modifies how item data is handled in auctions by adjusting the logic to account for the presence of battlePetSpeciesID
. When this ID exists, the petID
is set instead of the itemID
, ensuring accuracy in data representation for auction listings.
Files | Change Summary |
---|---|
.../main.lua | Modified Saddlebag:GetUpdatedListingsJson to set petID if battlePetSpeciesID exists; otherwise, set itemID . |
sequenceDiagram
participant User
participant System
User->>System: Fetch Auction Data
System-->>System: Check for battlePetSpeciesID
alt Pet ID exists
System-->>System: Set petID
else Item ID
System-->>System: Set itemID
end
System->>User: Return Processed Auction Data
Objective | Addressed | Explanation |
---|---|---|
Pet IDs are not being set (#40) | ✅ |
In code where pets and items blend, A rabbit sought to make amends. 🐇 With IDs swapped to set things right, Auction data gleams so bright! Now pets have IDs true and clear, To bidders' joy and buyers' cheer! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
closes https://github.com/ff14-advanced-market-search/SaddlebagExchangeWoW/issues/40
Summary by CodeRabbit
battlePetSpeciesID
, ensuring accurate item identification and listing data.