Fix remoteServers test

This commit is contained in:
Alejandro Celaya
2024-11-01 11:59:54 +01:00
parent e786f9d21f
commit 44fb07840e
2 changed files with 9 additions and 14 deletions

View File

@@ -61,7 +61,7 @@ export function ensureUniqueIds(existingServers: ServersMap, serversList: Server
iterations++;
}
serversWithId.push({ id, ...server });
serversWithId.push({ ...server, id });
// Add this server's ID to the list, so that it is taken into consideration for the next ones
existingIds.add(id);