From 829967776747e81fcf98d328027105182202257d Mon Sep 17 00:00:00 2001 From: Michael VanOverbeek Date: Sun, 31 Oct 2021 13:37:34 -0400 Subject: [PATCH] Apply more suggested formatting changes --- ProjectLighthouse/Controllers/UserController.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ProjectLighthouse/Controllers/UserController.cs b/ProjectLighthouse/Controllers/UserController.cs index 6fd0bac8..666f7d87 100644 --- a/ProjectLighthouse/Controllers/UserController.cs +++ b/ProjectLighthouse/Controllers/UserController.cs @@ -34,7 +34,7 @@ namespace LBPUnion.ProjectLighthouse.Controllers } [HttpGet("user/{username}/playlists")] - public async Task GetUserPlaylists(string username) + public IActionResult GetUserPlaylists(string username) { return this.Ok(); } @@ -135,9 +135,8 @@ namespace LBPUnion.ProjectLighthouse.Controllers } // the way location on a user card works is stupid and will not save with the way below as-is, so we do the following: - if (locationChanged) + if (locationChanged) // only modify the database if we modify here { - // only modify the database if we modify here Location l = await this.database.Locations.Where(l => l.Id == user.LocationId) .FirstOrDefaultAsync(); // find the location in the database again