mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 09:45:36 +08:00
修复env启用禁用
This commit is contained in:
1 parent
49ab1ad93a
commit
173b87a7b1
3 files changed
+3
-6
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user