From d72da4b8a2134686a68c914b7b5537dc91ba5da5 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 30 May 2022 16:16:44 -0500 Subject: using Soulseek --- src/slskd/Shares/API/Controllers/SharesController.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/slskd/Shares/API/Controllers/SharesController.cs') 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; /// /// Shares. @@ -136,7 +137,7 @@ namespace slskd.Shares.API /// The request completed successfully. [HttpGet("contents")] [Authorize] - [ProducesResponseType(typeof(IEnumerable), 200)] + [ProducesResponseType(typeof(IEnumerable), 200)] public async Task BrowseAll() { return Ok(await Shares.BrowseAsync()); @@ -150,7 +151,7 @@ namespace slskd.Shares.API /// The request completed successfully. /// The requested share could not be found. [HttpGet("{id}/contents")] - [ProducesResponseType(typeof(IEnumerable), 200)] + [ProducesResponseType(typeof(IEnumerable), 200)] [ProducesResponseType(404)] public async Task BrowseShare(string id) { -- cgit v1.2.3