aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/API/Controllers/SearchesController.cs
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-05-20 22:25:24 -0500
committerJP Dillingham <jpdillingham@gmail.com>2021-05-20 22:25:24 -0500
commit4f1d983ad758e5533cc85648f2d489952f6975e3 (patch)
tree21fc0a309edbe5f8d5d08b0b23814f7eae856c13 /src/slskd/API/Controllers/SearchesController.cs
parent9c48e30741f9a3869f0871c3446c4c4435e81931 (diff)
downloadslskd-4f1d983ad758e5533cc85648f2d489952f6975e3.tar.gz
more warnings
Diffstat (limited to 'src/slskd/API/Controllers/SearchesController.cs')
-rw-r--r--src/slskd/API/Controllers/SearchesController.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/slskd/API/Controllers/SearchesController.cs b/src/slskd/API/Controllers/SearchesController.cs
index bc58822b..d9d3115d 100644
--- a/src/slskd/API/Controllers/SearchesController.cs
+++ b/src/slskd/API/Controllers/SearchesController.cs
@@ -29,7 +29,7 @@ namespace slskd.API.Controllers
using Soulseek;
/// <summary>
- /// Search
+ /// Search.
/// </summary>
[Route("api/v{version:apiVersion}/[controller]")]
[ApiVersion("0")]
@@ -38,9 +38,6 @@ namespace slskd.API.Controllers
[Consumes("application/json")]
public class SearchesController : ControllerBase
{
- private ISoulseekClient Client { get; }
- private ISearchTracker Tracker { get; }
-
/// <summary>
/// Initializes a new instance of the <see cref="SearchesController"/> class.
/// </summary>
@@ -52,6 +49,9 @@ namespace slskd.API.Controllers
Tracker = tracker;
}
+ private ISoulseekClient Client { get; }
+ private ISearchTracker Tracker { get; }
+
/// <summary>
/// Performs a search for the specified <paramref name="request"/>.
/// </summary>