aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-03-28 17:49:21 +0000
committermat <github@matdoes.dev>2022-03-28 17:49:21 +0000
commita2e0af58ffb48e87508529404a30f2de144ba412 (patch)
tree78ddcd763dcd1ad48ac4db9b74dcad6945ca1a0d
parentadc1a7af012744e5b837d07ed1919776b821cdc1 (diff)
downloadskyblock-api-a2e0af58ffb48e87508529404a30f2de144ba412.tar.gz
skyblock-api-a2e0af58ffb48e87508529404a30f2de144ba412.tar.bz2
skyblock-api-a2e0af58ffb48e87508529404a30f2de144ba412.zip
accidentally made a thing snake_case
-rw-r--r--src/cleaners/skyblock/itemList.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cleaners/skyblock/itemList.ts b/src/cleaners/skyblock/itemList.ts
index a534628..c0a3e64 100644
--- a/src/cleaners/skyblock/itemList.ts
+++ b/src/cleaners/skyblock/itemList.ts
@@ -18,7 +18,7 @@ export interface ItemListItem {
name: string
glint: boolean
}
- npc_sell_price: number | null
+ npcSellPrice: number | null
requirements: ItemRequirement | null
}
@@ -47,7 +47,7 @@ function cleanItemListItem(item: typedHypixelApi.SkyBlockItemsResponse['items'][
name: item.name,
glint: item.glowing ?? false
},
- npc_sell_price: item.npc_sell_price ?? null,
+ npcSellPrice: item.npc_sell_price ?? null,
requirements: cleanItemRequirements(item.catacombs_requirements ?? item.requirements)
}
}