mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-28 07:58:40 +00:00
Fix Koko suggestions
This commit is contained in:
parent
3fb1441ac1
commit
40a4d5e239
10 changed files with 40 additions and 42 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue