修复编译错误

This commit is contained in:
whyour
2022-05-15 15:35:52 +08:00
parent f6a122e5ea
commit bb47d67d0b
2 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -307,7 +307,7 @@ export default class SubscriptionService {
for (const doc of docs) {
this.handleTask(doc, false);
}
await SubscriptionModel.update({ isDisabled: 1 }, { where: { id: ids } });
await SubscriptionModel.update({ is_disabled: 1 }, { where: { id: ids } });
}
public async enabled(ids: number[]) {
@@ -315,7 +315,7 @@ export default class SubscriptionService {
for (const doc of docs) {
this.handleTask(doc);
}
await SubscriptionModel.update({ isDisabled: 0 }, { where: { id: ids } });
await SubscriptionModel.update({ is_disabled: 0 }, { where: { id: ids } });
}
public async log(id: number) {