aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-04-28 08:58:24 -0500
committerJP Dillingham <jpdillingham@gmail.com>2022-04-28 08:58:24 -0500
commitddcefd51dcd7674e86fd54b4c0fbdf168c21170a (patch)
tree3e13dd5fc41ca2354040c7c38c17db12d13e1b86
parent6c711fe518dba77bd7fdc3314cc6a23730db7e88 (diff)
downloadslskd-ddcefd51dcd7674e86fd54b4c0fbdf168c21170a.tar.gz
rename load to list
-rw-r--r--src/slskd/Search/API/Hubs/SearchHub.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Search/API/Hubs/SearchHub.cs b/src/slskd/Search/API/Hubs/SearchHub.cs
index dc27ca9d..5c9fc114 100644
--- a/src/slskd/Search/API/Hubs/SearchHub.cs
+++ b/src/slskd/Search/API/Hubs/SearchHub.cs
@@ -26,7 +26,7 @@ namespace slskd.Search.API
public static class SearchHubMethods
{
- public static readonly string Load = "LOAD";
+ public static readonly string List = "LIST";
public static readonly string Create = "CREATE";
public static readonly string Response = "RESPONSE";
public static readonly string Update = "UPDATE";
@@ -90,7 +90,7 @@ namespace slskd.Search.API
public override async Task OnConnectedAsync()
{
var searches = await Searches.ListAsync();
- await Clients.Caller.SendAsync(SearchHubMethods.Load, searches);
+ await Clients.Caller.SendAsync(SearchHubMethods.List, searches);
// todo: create buffer specific to this client
}