From d77e049e501d8f17c8d92bb6c252e89a27c23da3 Mon Sep 17 00:00:00 2001 From: Chris Yang Date: Fri, 5 Jan 2024 02:18:50 +0800 Subject: [PATCH] fix: error binding setting data --- src/Settings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Settings.ts b/src/Settings.ts index dcc898c..897006d 100644 --- a/src/Settings.ts +++ b/src/Settings.ts @@ -126,7 +126,7 @@ export class Ob2StaticSettingTab extends PluginSettingTab { .setPlaceholder('https://yourdomain/api/index.php') .setValue(this.plugin.settings.easyimage_api_endpoint) .onChange(async (value) => { - this.plugin.settings.endpoint = value; + this.plugin.settings.easyimage_api_endpoint = value; await this.plugin.saveSettings(); }));