mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-17 04:53:49 +00:00
Fix remoteServers test
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user