aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-07-16 16:48:55 -0500
committerJP Dillingham <jpdillingham@gmail.com>2022-07-16 16:48:55 -0500
commit94b149fd7ab1166adfaae34aea92dbcf936af5d2 (patch)
tree9eaef717c2a75ec1a09af3dc3501d2a67aab983d /src/slskd
parent71739c2daf8ed3b0d878b1df7c432d7ff0dc6789 (diff)
downloadslskd-94b149fd7ab1166adfaae34aea92dbcf936af5d2.tar.gz
Create -> Start
Diffstat (limited to 'src/slskd')
-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();