refactor: priceUsingPricesTF now expects an SKU string

This commit is contained in:
xenticore
2025-03-28 23:31:04 -04:00
parent e6013ef61c
commit d1c5083425
3 changed files with 16 additions and 14 deletions

View File

@@ -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