restore: get subscription info after a restore

This commit is contained in:
Girish Ramakrishnan
2025-10-02 11:19:56 +02:00
parent 5b43de944d
commit b511b0c39a

View File

@@ -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);