mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Refactor AccountStorage to use private fields for state management
This commit is contained in:
@ -7098,7 +7098,7 @@ export async function saveSettings(loopCounter = 0) {
|
||||
url: '/api/settings/save',
|
||||
data: JSON.stringify({
|
||||
firstRun: firstRun,
|
||||
accountStorage: accountStorage.state,
|
||||
accountStorage: accountStorage.getState(),
|
||||
currentVersion: currentVersion,
|
||||
username: name1,
|
||||
active_character: active_character,
|
||||
|
Reference in New Issue
Block a user