aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-07-16 16:57:34 -0500
committerJP Dillingham <jpdillingham@gmail.com>2022-07-16 16:57:34 -0500
commit6bcab1af3c4cc3227f18192d14cbcecc13f40a94 (patch)
treeb08360d48e78d79c5bded95b9072673552f69053 /src
parentdcdec201f730d065246f1695fdde6372f71435c5 (diff)
downloadslskd-6bcab1af3c4cc3227f18192d14cbcecc13f40a94.tar.gz
oops
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Search/API/Controllers/SearchesController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Search/API/Controllers/SearchesController.cs b/src/slskd/Search/API/Controllers/SearchesController.cs
index 57ddfc13..acae18e0 100644
--- a/src/slskd/Search/API/Controllers/SearchesController.cs
+++ b/src/slskd/Search/API/Controllers/SearchesController.cs
@@ -68,7 +68,7 @@ namespace slskd.Search.API
try
{
- search = await Searches.CreateAsync(id, SearchQuery.FromText(request.SearchText), SearchScope.Network, request.ToSearchOptions());
+ search = await Searches.StartAsync(id, SearchQuery.FromText(request.SearchText), SearchScope.Network, request.ToSearchOptions());
}
catch (Exception ex) when (ex is ArgumentException || ex is Soulseek.DuplicateTokenException)
{