core: allow id re-assign

This commit is contained in:
undefined committed 2023-04-06 21:03:00 +08:00
1 parent cddc98ae4b
commit 4de95dc8d5
1 file changed
+1
+1
View File
@@ -61,6 +61,7 @@ export async function feedback(): Promise<[string, StatusUpdate]> {
.then((res) => {
if (res.body.updateUrl?.startsWith('https://')) system.set('server.center', res.body.updateUrl);
if (res.body.notification) global.Hydro.model.message.sendNotification(res.body.notification);
if (res.body.reassignId) system.set('installid', res.body.reassignId);
})
.catch(() => logger.debug('Cannot connect to hydro center.'));
return [mid, $update];