refactor: Update file extensions for assets in characterCards.ts

This commit is contained in:
kwaroran
2024-06-27 19:06:35 +09:00
parent 07bafce2f8
commit a5583ebeec

View File

@@ -1051,7 +1051,7 @@ export function createBaseV3(char:character){
type: 'x-risu-asset',
uri: asset[1],
name: asset[0],
ext: asset[2] || 'unknown'
ext: asset[2] || 'png'
})
}
}
@@ -1062,7 +1062,7 @@ export function createBaseV3(char:character){
type: 'emotion',
uri: asset[1],
name: asset[0],
ext: 'unknown'
ext: 'png'
})
}