fix: explicit typing for catch error to satisfy Next.js build
This commit is contained in:
parent
af4554e4fc
commit
be199fc0cd
@ -35,7 +35,7 @@ export async function getEntityConfig() {
|
||||
const bucketId = mediaDoc.bucket_id || 'media';
|
||||
doc.logotipo = `${ENDPOINT}/storage/buckets/${bucketId}/files/${mediaDoc.file_id}/view?project=${PROJECT_ID}`;
|
||||
}
|
||||
} catch (mediaErr) {
|
||||
} catch (mediaErr: any) {
|
||||
// Si falla (por ejemplo, si realmente era un file_id antiguo), no hacemos nada y dejamos que el frontend intente usarlo como file_id
|
||||
console.warn("Could not resolve media doc for logotipo, keeping original value:", mediaErr.message);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user