Skip to content

Commit

Permalink
fix: error binding setting data
Browse files Browse the repository at this point in the history
  • Loading branch information
yy4382 committed Jan 4, 2024
1 parent e9a8b64 commit d77e049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}));

Expand Down

0 comments on commit d77e049

Please sign in to comment.