Fix Koko suggestions

This commit is contained in:
FeTetra 2025-02-20 21:12:34 -05:00
commit 40a4d5e239
10 changed files with 40 additions and 42 deletions

View file

@ -216,7 +216,7 @@ public class PhotosController : ControllerBase
[HttpGet("photos/with")]
public async Task<IActionResult> UserPhotosWith(string user)
{
{
int targetUserId = await this.database.UserIdFromUsername(user);
if (targetUserId == 0) return this.NotFound();