restore: get subscription info after a restore
This commit is contained in:
@@ -207,6 +207,8 @@ async function restoreTask(backupSite, remotePath, ipv4Config, ipv6Config, optio
|
||||
|
||||
await eventlog.add(eventlog.ACTION_RESTORE, auditSource, { remotePath });
|
||||
|
||||
await appstore.checkSubscription();
|
||||
|
||||
setImmediate(() => safe(platform.onActivated({ backupSite, skipDnsSetup: options.skipDnsSetup }), { debug }));
|
||||
} catch (error) {
|
||||
debug('restoreTask: error. %o', error);
|
||||
|
||||
Reference in New Issue
Block a user