Merge branch 'remove-console-log' into 'main'

refactor: remove console.logs

See merge request soapbox-pub/ditto!716
This commit is contained in:
P. Reis 2025-03-09 13:03:55 -03:00
commit 04a610cd2d

View file

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