From 5326ad4dea3951aa2f928975f747aa5031bb9899 Mon Sep 17 00:00:00 2001 From: LumaLivy <7350336+LumaLivy@users.noreply.github.com> Date: Fri, 19 Nov 2021 21:47:32 -0500 Subject: [PATCH] Fix misleading variable name --- ProjectLighthouse/Controllers/UserController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }