mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
core: allow id re-assign
This commit is contained in:
1 file changed
+1
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user