This commit is contained in:
2025-08-30 16:01:43 -04:00
parent 391bf3d1f8
commit 2fbd09e43f
17 changed files with 382 additions and 36 deletions

View File

@@ -34,7 +34,7 @@ export class ProfileSettingsManager extends ProfileContentManager {
await this.kv.getKv().set(this.#key, settings);
}
async setSetting(Key: ProfileSetting, Value: string) {
async setSetting(Key: string, Value: string) {
const settings = await this.getAllSettings();
const s = settings.find(setting => setting.Key === Key);
if (!s) settings.push({ Key, Value });