@[email protected] pinging dev. The problem is in the line 3269
on setting the usageStats
.
...
// line 3269
if(result.exportUserData === "no") {
json.data.data.find(d => d.tableName === "usageStats").rows = []; // Throws error here
} else {
let usageStats = json.data.data.find(d => d.tableName === "usageStats");
if(usageStats) {
usageStats.rows = usageStats.rows.filter(entry => keepThreadCheck(entry.threadId) && keepCharacterCheck(entry.characterId));
}
}
...
Seems like on the DB Schema (line 2813
), usageStats
is no longer used, so maybe just removing them in the export fixes them.