From ab15c236a7faddc851d082f5c76c52720a9a3dda Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 21 Nov 2022 15:03:53 -0600 Subject: rename OperationMode to RelayMode --- src/slskd/Search/API/Controllers/SearchesController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/slskd/Search/API/Controllers') diff --git a/src/slskd/Search/API/Controllers/SearchesController.cs b/src/slskd/Search/API/Controllers/SearchesController.cs index ae7f42db..507de5d6 100644 --- a/src/slskd/Search/API/Controllers/SearchesController.cs +++ b/src/slskd/Search/API/Controllers/SearchesController.cs @@ -50,7 +50,7 @@ namespace slskd.Search.API private ISearchService Searches { get; } private IOptionsSnapshot OptionsSnapshot { get; } - private bool IsAgent => OptionsSnapshot.Value.Relay.Mode.ToEnum() == OperationMode.Agent; + private bool IsAgent => OptionsSnapshot.Value.Relay.Mode.ToEnum() == RelayMode.Agent; /// /// Performs a search for the specified . -- cgit v1.2.3