aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-05-30 16:16:44 -0500
committerJP Dillingham <jpdillingham@gmail.com>2022-05-30 16:16:44 -0500
commitd72da4b8a2134686a68c914b7b5537dc91ba5da5 (patch)
treea4c3037c24fc082bac056e0d1178094298ea58b0 /src
parentc8c97202df9b7e25a1ee84d264f324960e1c548e (diff)
downloadslskd-d72da4b8a2134686a68c914b7b5537dc91ba5da5.tar.gz
using Soulseek
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Shares/API/Controllers/SharesController.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/slskd/Shares/API/Controllers/SharesController.cs b/src/slskd/Shares/API/Controllers/SharesController.cs
index 990d6143..300bbf5a 100644
--- a/src/slskd/Shares/API/Controllers/SharesController.cs
+++ b/src/slskd/Shares/API/Controllers/SharesController.cs
@@ -22,6 +22,7 @@ namespace slskd.Shares.API
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
+ using Soulseek;
/// <summary>
/// Shares.
@@ -136,7 +137,7 @@ namespace slskd.Shares.API
/// <response code="200">The request completed successfully.</response>
[HttpGet("contents")]
[Authorize]
- [ProducesResponseType(typeof(IEnumerable<Soulseek.Directory>), 200)]
+ [ProducesResponseType(typeof(IEnumerable<Directory>), 200)]
public async Task<IActionResult> BrowseAll()
{
return Ok(await Shares.BrowseAsync());
@@ -150,7 +151,7 @@ namespace slskd.Shares.API
/// <response code="200">The request completed successfully.</response>
/// <response code="404">The requested share could not be found.</response>
[HttpGet("{id}/contents")]
- [ProducesResponseType(typeof(IEnumerable<Soulseek.Directory>), 200)]
+ [ProducesResponseType(typeof(IEnumerable<Directory>), 200)]
[ProducesResponseType(404)]
public async Task<IActionResult> BrowseShare(string id)
{