diff options
| author | JP Dillingham <jp@dillingham.me> | 2024-12-17 16:31:12 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-17 16:31:12 -0600 |
| commit | ac4518147eebd921edb7cf465013eabc37fae4e7 (patch) | |
| tree | 5de10a59601042e0c9bd9e4a168e2e26a9165342 /src/slskd/Search/API/Controllers/SearchesController.cs | |
| parent | f1b250ccd31bfbb38d47ebd3570c072539c98430 (diff) | |
| parent | 57704f7a402bd779c74b42b460c6bb0d206cbe0c (diff) | |
| download | slskd-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.cs | 2 |
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) { |
