修复订阅生成 ssh 配置逻辑,自动添加/删除任务

This commit is contained in:
whyour
2023-02-13 23:12:55 +08:00
parent 437a849c2a
commit 1f7f2c8971
4 changed files with 91 additions and 75 deletions
+1 -6
View File
@@ -41,11 +41,6 @@ export default async () => {
// 运行所有订阅
const subs = await subscriptionService.list();
for (const sub of subs) {
await subscriptionService.handleTask(
sub,
!sub.is_disabled,
true,
!sub.is_disabled,
);
subscriptionService.handleTask(sub, !sub.is_disabled, !sub.is_disabled);
}
};