aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Search/API/Controllers/SearchesController.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2024-12-17 16:31:12 -0600
committerGitHub <noreply@github.com>2024-12-17 16:31:12 -0600
commitac4518147eebd921edb7cf465013eabc37fae4e7 (patch)
tree5de10a59601042e0c9bd9e4a168e2e26a9165342 /src/slskd/Search/API/Controllers/SearchesController.cs
parentf1b250ccd31bfbb38d47ebd3570c072539c98430 (diff)
parent57704f7a402bd779c74b42b460c6bb0d206cbe0c (diff)
downloadslskd-ac4518147eebd921edb7cf465013eabc37fae4e7.tar.gz
Merge pull request #1257 from slskd/search-retention
Add the ability to configure search record retention
Diffstat (limited to 'src/slskd/Search/API/Controllers/SearchesController.cs')
-rw-r--r--src/slskd/Search/API/Controllers/SearchesController.cs2
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 56c5f533..d6d96bbe 100644
--- a/src/slskd/Search/API/Controllers/SearchesController.cs
+++ b/src/slskd/Search/API/Controllers/SearchesController.cs
@@ -210,7 +210,7 @@ namespace slskd.Search.API
return Forbid();
}
- var search = await Searches.FindAsync(search => search.Id == id, includeResponses: true);
+ var search = await Searches.FindAsync(search => search.Id == id, includeResponses: false);
if (search == default)
{