fix: update search path

This commit is contained in:
2024-03-06 15:46:22 +00:00
parent 2dda9f47f7
commit eeae844413

View File

@ -7,7 +7,7 @@ namespace NostrStreamer.Controllers;
[Route("/api/v1/games")]
public class GameInfoController(GameDb gameDb) : Controller
{
[HttpGet]
[HttpGet("search")]
public async Task<IActionResult> GetGames([FromQuery] string q, [FromQuery] int limit = 10)
{
var data = await gameDb.SearchGames(q, limit);