You've already forked tf2wikipricing
refactor: priceUsingPricesTF now expects an SKU string
This commit is contained in:
@@ -60,7 +60,7 @@ export async function fetchPrice(token: string, defIndex: number, quality: numbe
|
||||
data.ttl = ttl
|
||||
|
||||
try {
|
||||
const response = await priceUsingPricesTF(token, defIndex, quality)
|
||||
const response = await priceUsingPricesTF(token, sku)
|
||||
if (response) {
|
||||
data.keys = response.keys
|
||||
data.metal = response.metal
|
||||
|
||||
Reference in New Issue
Block a user