From 4ac994b85e6ac8422275ec50b17df6eb01579d42 Mon Sep 17 00:00:00 2001 From: Julien Ripouteau Date: Thu, 25 Jan 2024 00:40:24 +0100 Subject: [PATCH] chore: remove logs --- app/services/og_image/og_image_renderer.ts | 1 - app/services/packages_fetcher.ts | 2 -- 2 files changed, 3 deletions(-) diff --git a/app/services/og_image/og_image_renderer.ts b/app/services/og_image/og_image_renderer.ts index a51572d..ad6085d 100644 --- a/app/services/og_image/og_image_renderer.ts +++ b/app/services/og_image/og_image_renderer.ts @@ -136,7 +136,6 @@ export class OgImageGenerator { */ async generate(name: string, description: string) { const base64Og = await cache.use('ogImage').getOrSet(`og-image:${name}`, async () => { - console.log('Generating new OG image for %s', name) const svg = await this.#generateSvg(name, description) return new Resvg(svg).render().asPng().toString('base64') }) diff --git a/app/services/packages_fetcher.ts b/app/services/packages_fetcher.ts index a0466bc..bbc5c1c 100644 --- a/app/services/packages_fetcher.ts +++ b/app/services/packages_fetcher.ts @@ -146,13 +146,11 @@ export class PackagesFetcher { /** * Sort the results */ - console.log(options) const sortedPackages = this.#sortPackages( options.order ?? -1, options.orderBy ?? 'downloads', packages, ) - console.log(sortedPackages) /** * Paginate the results