mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-12 09:03:42 +08:00
fix: 修复保存telegram设置后会将telegram登陆禁用的问题
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user