diff --git a/Iceshrimp.Frontend/Core/ControllerModels/UserControllerModel.cs b/Iceshrimp.Frontend/Core/ControllerModels/UserControllerModel.cs index e203555a..a6bc40da 100644 --- a/Iceshrimp.Frontend/Core/ControllerModels/UserControllerModel.cs +++ b/Iceshrimp.Frontend/Core/ControllerModels/UserControllerModel.cs @@ -20,8 +20,8 @@ internal class UserControllerModel(ApiClient api) public Task LookupUser(string username, string? host) { var query = new QueryString(); - query.Add("username", username); - if (host != null) query.Add("host", host); + query = query.Add("username", username); + if (host != null) query = query.Add("host", host); return api.CallNullable(HttpMethod.Get, "/users/lookup", query); } } \ No newline at end of file