refactor: remove console.logs

This commit is contained in:
P. Reis 2025-03-09 13:02:53 -03:00
parent 592d6c1d36
commit 3e35102e13

View file

@ -435,13 +435,9 @@ export class DittoRelayStore implements NRelay {
if (event.kind === 1) { if (event.kind === 1) {
const { firstUrl } = parseNoteContent(stripimeta(event.content, event.tags), [], this.opts); const { firstUrl } = parseNoteContent(stripimeta(event.content, event.tags), [], this.opts);
console.log({ firstUrl });
if (firstUrl) { if (firstUrl) {
const linkPreview = await unfurlCard(firstUrl, { conf, signal }); const linkPreview = await unfurlCard(firstUrl, { conf, signal });
console.log(linkPreview);
if (linkPreview) { if (linkPreview) {
await db.kysely.insertInto('event_stats') await db.kysely.insertInto('event_stats')
.values({ .values({