From e36269d134a364ec96799720f1beb2cda70cebe4 Mon Sep 17 00:00:00 2001 From: Marcel Hellkamp Date: Thu, 6 Jun 2024 11:27:11 +0200 Subject: [PATCH] Small ts fix --- src/sources.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sources.ts b/src/sources.ts index 7f58d3f..2231321 100644 --- a/src/sources.ts +++ b/src/sources.ts @@ -251,10 +251,10 @@ function findMedia(status: MastodonStatus) { const preview = m.preview_url ?? undefined switch (m.type) { case "image": - return { type: "image", url, href:url, preview, alt } + return { type: "image", url, preview, alt } case "video": case "gifv": - return { type: "video", url, href:url, preview, alt } + return { type: "video", url, preview, alt } case "audio": case "unknown": return