Update v1 tags field to get rid of console nag

This commit is contained in:
Cohee 2024-01-31 21:59:04 +02:00
parent 5252d74450
commit a3de917ca2
1 changed files with 1 additions and 0 deletions

View File

@ -300,6 +300,7 @@ function charaFormatData(data) {
_.set(char, 'chat', data.ch_name + ' - ' + humanizedISO8601DateTime());
_.set(char, 'talkativeness', data.talkativeness);
_.set(char, 'fav', data.fav == 'true');
_.set(char, 'tags', typeof data.tags == 'string' ? (data.tags.split(',').map(x => x.trim()).filter(x => x)) : data.tags || []);
// Spec V2 fields
_.set(char, 'spec', 'chara_card_v2');