Skip to content

Commit

Permalink
chore: remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-R44 committed Jan 24, 2024
1 parent 4e6a6f5 commit 4ac994b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/services/og_image/og_image_renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
})
Expand Down
2 changes: 0 additions & 2 deletions app/services/packages_fetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4ac994b

Please sign in to comment.