[fix] license import

This commit is contained in:
kwaroran
2023-07-20 20:33:15 +09:00
parent 0cb34da44a
commit 9d21e398d5
2 changed files with 3 additions and 2 deletions

View File

@@ -345,5 +345,5 @@ export const languageEnglish = {
createBotInternet: "Create Bot from Internet with AI",
createBotInternetAlert: "Please provide the character's name and the corresponding series/game.",
able:"Able",
assetWidth: "Asset Max Width",
assetWidth: "Asset Images Max Width",
}

View File

@@ -390,7 +390,8 @@ async function importSpecv2(card:CharacterCardV2, img?:Uint8Array, mode?:'hub'|'
},
additionalAssets: extAssets,
replaceGlobalNote: data.post_history_instructions ?? '',
backgroundHTML: data?.extensions?.risuai?.backgroundHTML
backgroundHTML: data?.extensions?.risuai?.backgroundHTML,
license: data?.extensions?.risuai?.license
}
db.characters.push(char)