Fix robot population

This commit is contained in:
koalasat
2024-10-18 23:13:41 +02:00
parent da635ad55f
commit ff652d3426

View File

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