From 94a9fed2ccb8d82934c50448103e63e0fb005de3 Mon Sep 17 00:00:00 2001 From: "P. Reis" Date: Fri, 24 May 2024 10:53:33 -0300 Subject: [PATCH] fix: cast website as string --- src/views/mastodon/accounts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/mastodon/accounts.ts b/src/views/mastodon/accounts.ts index 87c16034..95331a1b 100644 --- a/src/views/mastodon/accounts.ts +++ b/src/views/mastodon/accounts.ts @@ -87,7 +87,7 @@ async function renderAccount( pubkey, lud16, }, - website: sanitizeWebsite(website) ?? '', + website: sanitizeWebsite(website as string) ?? '', }; }