diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2022-07-16 16:57:34 -0500 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2022-07-16 16:57:34 -0500 |
| commit | 6bcab1af3c4cc3227f18192d14cbcecc13f40a94 (patch) | |
| tree | b08360d48e78d79c5bded95b9072673552f69053 /src/slskd/Search/API/Controllers/SearchesController.cs | |
| parent | dcdec201f730d065246f1695fdde6372f71435c5 (diff) | |
| download | slskd-6bcab1af3c4cc3227f18192d14cbcecc13f40a94.tar.gz | |
oops
Diffstat (limited to 'src/slskd/Search/API/Controllers/SearchesController.cs')
| -rw-r--r-- | src/slskd/Search/API/Controllers/SearchesController.cs | 2 |
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) { |
