Correct a typo in endpoint and return blank playlist

This commit is contained in:
Slendy 2022-09-01 01:37:51 -05:00
parent b1ad4d3218
commit 022bb4dc3f
No known key found for this signature in database
GPG key ID: 7288D68361B91428
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ public class DeveloperController : Controller
this.database = database;
}
[HttpGet("/developer_videos")]
[HttpGet("developer_videos")]
public async Task<IActionResult> DeveloperVideos()
{
GameToken? token = await this.database.GameTokenFromRequest(this.Request);

View file

@ -24,7 +24,7 @@ public class CollectionController : ControllerBase
}
[HttpGet("user/{username}/playlists")]
public IActionResult GetUserPlaylists(string username) => this.Ok();
public IActionResult GetUserPlaylists(string username) => this.Ok("<playlists></playlists>");
[HttpGet("searches")]
[HttpGet("genres")]