aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/slskd/Search/ISearchService.cs2
-rw-r--r--src/slskd/Search/SearchService.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Search/ISearchService.cs b/src/slskd/Search/ISearchService.cs
index d2cac32e..9a45280b 100644
--- a/src/slskd/Search/ISearchService.cs
+++ b/src/slskd/Search/ISearchService.cs
@@ -38,7 +38,7 @@ namespace slskd.Search
/// <param name="scope">The search scope.</param>
/// <param name="options">Search options.</param>
/// <returns>The completed search.</returns>
- Task<Search> CreateAsync(Guid id, SearchQuery query, SearchScope scope, SearchOptions options = null);
+ Task<Search> StartAsync(Guid id, SearchQuery query, SearchScope scope, SearchOptions options = null);
/// <summary>
/// Deletes the specified ssearch.
diff --git a/src/slskd/Search/SearchService.cs b/src/slskd/Search/SearchService.cs
index f077e76b..94ad5e3e 100644
--- a/src/slskd/Search/SearchService.cs
+++ b/src/slskd/Search/SearchService.cs
@@ -77,7 +77,7 @@ namespace slskd.Search
/// <param name="scope">The search scope.</param>
/// <param name="options">Search options.</param>
/// <returns>The completed search.</returns>
- public async Task<Search> CreateAsync(Guid id, SearchQuery query, SearchScope scope, SearchOptions options = null)
+ public async Task<Search> StartAsync(Guid id, SearchQuery query, SearchScope scope, SearchOptions options = null)
{
var token = Client.GetNextToken();