diff --git a/src/modules/fedimbed.js b/src/modules/fedimbed.js index aa4134d..663b7b8 100644 --- a/src/modules/fedimbed.js +++ b/src/modules/fedimbed.js @@ -362,7 +362,7 @@ async function blueskyQuoteEmbed(quote) { let color = PLATFORM_COLORS[platform]; let platformName = normalizePlatform(platform); - const crawled = getCrawledData(authorUrl, color, platformName); + const crawled = await getCrawledData(authorUrl, color, platformName); if (!color && crawled?.color) { color = crawled.color; } @@ -552,7 +552,7 @@ async function bluesky(msg, url, spoiler = false) { let color = PLATFORM_COLORS[platform]; let platformName = normalizePlatform(platform); - const crawled = getCrawledData(authorUrl, color, platformName); + const crawled = await getCrawledData(authorUrl, color, platformName); if (!color && crawled?.color) { color = crawled.color; }