Add fallback content-type to pass typecheck

This commit is contained in:
Eric Bailey
2025-02-05 11:24:43 -06:00
parent 707bb3a2c4
commit e09858186e
@@ -36,7 +36,7 @@ export function ExportCarDialog({
const saveRes = await saveBytesToDisk(
'repo.car',
downloadRes.data,
downloadRes.headers['content-type'],
downloadRes.headers['content-type'] || 'application/vnd.ipld.car',
)
if (saveRes) {