fix: 修复保存telegram设置后会将telegram登陆禁用的问题

This commit is contained in:
1808837298@qq.com
2024-03-03 23:41:00 +08:00
parent d2de675564
commit 1f0a48a879
2 changed files with 5 additions and 9 deletions

View File

@@ -244,7 +244,7 @@ const SystemSetting = () => {
};
const submitTelegramSettings = async () => {
await updateOption('TelegramOAuthEnabled', inputs.TelegramOAuthEnabled);
// await updateOption('TelegramOAuthEnabled', inputs.TelegramOAuthEnabled);
await updateOption('TelegramBotToken', inputs.TelegramBotToken);
await updateOption('TelegramBotName', inputs.TelegramBotName);
};