修复env启用禁用

This commit is contained in:
hanhh
2021-06-21 17:22:23 +08:00
parent 49ab1ad93a
commit 173b87a7b1
3 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ export default class EnvService {
return new Promise((resolve: any) => {
this.cronDb.update(
{ _id: { $in: ids } },
{ $set: { status: EnvStatus.noacquired } },
{ $set: { status: EnvStatus.normal } },
{ multi: true },
async (err, num) => {
await this.set_envs();