aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cleaners/skyblock/auctions.ts1
-rw-r--r--src/hypixelApi.ts1
-rw-r--r--src/index.ts2
3 files changed, 0 insertions, 4 deletions
diff --git a/src/cleaners/skyblock/auctions.ts b/src/cleaners/skyblock/auctions.ts
index 28e1958..7812ce6 100644
--- a/src/cleaners/skyblock/auctions.ts
+++ b/src/cleaners/skyblock/auctions.ts
@@ -15,7 +15,6 @@ export interface Auction {
}
export async function cleanAuctions(data: typedHypixelApi.SkyBlockRequestAuctionResponse): Promise<Auction[]> {
- console.log(data)
const auctions: Auction[] = []
for (const auction of data.auctions) {
auctions.push({
diff --git a/src/hypixelApi.ts b/src/hypixelApi.ts
index 40a972a..d229bc1 100644
--- a/src/hypixelApi.ts
+++ b/src/hypixelApi.ts
@@ -104,7 +104,6 @@ export interface HypixelPlayerSocialMedia {
/** Send an HTTP request to the Hypixel API */
export let sendApiRequest = async<P extends keyof typedHypixelApi.Requests>(path: P, options: typedHypixelApi.Requests[P]['options']): Promise<typedHypixelApi.Requests[P]['response']['data']> => {
// Send a raw http request to api.hypixel.net, and return the parsed json
- console.log('requesting', path, options)
let response: typedHypixelApi.Requests[P]['response']
try {
response = await typedHypixelApi.request(
diff --git a/src/index.ts b/src/index.ts
index 9311fe6..f81190f 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -197,9 +197,7 @@ app.get('/auctionitems', async (req, res) => {
})
app.get('/auction/:uuid', async (req, res) => {
- console.log('fetching auction', req.params.uuid)
const auction = await fetchAuctionUncached(req.params.uuid)
- console.log('fetched auction', req.params.uuid)
try {
res
// .setHeader('Cache-Control', 'public, max-age=600')