You've already forked tf2wikipricing
refactor: fetchPrice now expects an SKU string
This commit is contained in:
@@ -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...`)
|
||||
|
||||
Reference in New Issue
Block a user