refactor: fetchPrice now expects an SKU string

This commit is contained in:
xenticore
2025-03-28 23:35:39 -04:00
parent d1c5083425
commit 77a831b89e
3 changed files with 7 additions and 8 deletions

View File

@@ -206,7 +206,7 @@ async function inject() {
var data: ItemPriceData | null
try {
data = await fetchPrice(token, itemIndex, quality, currentTime);
data = await fetchPrice(token, itemIndex + ";" + quality, currentTime);
updateTime = new Date(data.update)
} catch {
log(`${qualifiedName} is unpriced or unavailable, skipping...`)