mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
Merge branch 'remove-console-log' into 'main'
refactor: remove console.logs See merge request soapbox-pub/ditto!716
This commit is contained in:
commit
0264b16553
1 changed files with 0 additions and 4 deletions
|
|
@ -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({
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue