diff --git a/ProjectLighthouse/Controllers/UserController.cs b/ProjectLighthouse/Controllers/UserController.cs index 7e54b1ad..2e6fc452 100644 --- a/ProjectLighthouse/Controllers/UserController.cs +++ b/ProjectLighthouse/Controllers/UserController.cs @@ -52,9 +52,9 @@ namespace LBPUnion.ProjectLighthouse.Controllers if (token == null) return this.StatusCode(403, ""); List serializedUsers = new(); - foreach (string userId in u) + foreach (string username in u) { - string? serializedUser = await this.GetSerializedUser(userId, token.GameVersion); + string? serializedUser = await this.GetSerializedUser(username, token.GameVersion); if (serializedUser != "") serializedUsers.Add(serializedUser); }