wer
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user