Update fetch-mods.ts

This commit is contained in:
xen-42 2025-07-02 01:52:38 -04:00 committed by GitHub
parent ea57301386
commit 416f952e33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,8 +58,11 @@ export async function fetchMods(
const thumbnailInfo = previousMod?.thumbnail ?? {};
// This was breaking for coderCleric's GhostEverything mod and preventing the DB from even recognizing it exists: should do a permanent fix eventually
// Also it's thumbnail will still not work
let newThumbnail = {};
try {
const newThumbnail = await generateModThumbnail(
newThumbnail = await generateModThumbnail(
slug,
modInfo.thumbnailUrl,
readme?.downloadUrl,