|
|
@@ -147,7 +147,8 @@ export class TaskService implements OnModuleInit {
|
|
|
requestNumberInterval: data.requestNumberInterval,
|
|
|
checkConnection: data.checkConnection,
|
|
|
country: data.country,
|
|
|
- matchDevice: data.matchDevice
|
|
|
+ matchDevice: data.matchDevice,
|
|
|
+ useBackup: data.useBackup
|
|
|
}
|
|
|
)
|
|
|
}
|
|
|
@@ -633,7 +634,7 @@ export class TaskService implements OnModuleInit {
|
|
|
cleanCount: task.cleanCount || (await this.getConfig('clean_count', 20)),
|
|
|
requestNumberInterval: task.requestNumberInterval || (await this.getConfig('request_number_interval', 100)),
|
|
|
checkConnection: task.checkConnection,
|
|
|
- useBackup: task.useBackup
|
|
|
+ useBackup: task.useBackup
|
|
|
}
|
|
|
Promise.all(
|
|
|
devices.map(async (device, i) => {
|