Fix robot population

This commit is contained in:
koalasat 2024-10-18 23:13:41 +02:00
parent da635ad55f
commit ff652d3426
No known key found for this signature in database
GPG Key ID: 2F7F61C6146AB157

View File

@ -141,7 +141,6 @@ class Garage {
encPrivKey: key.encryptedPrivateKeyArmored,
};
void this.fetchRobot(federation, token);
this.setCurrentSlot(token);
this.slots[token] = new Slot(
token,
@ -151,6 +150,7 @@ class Garage {
this.triggerHook('onSlotUpdate');
},
);
void this.fetchRobot(federation, token);
this.save();
})
.catch((error) => {