aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Search/API/Controllers
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2024-12-17 14:27:19 -0600
committerJP Dillingham <jp@dillingham.me>2024-12-17 14:27:19 -0600
commit20bcd7e388a4dc14f95579f08198e82a1c6ac35c (patch)
treec91627c0983ddb49dfb56d70afc8e5bdfd353875 /src/slskd/Search/API/Controllers
parent7b0fb41b43fe7b97316fc7112cc9b6d0fc7f628d (diff)
downloadslskd-20bcd7e388a4dc14f95579f08198e82a1c6ac35c.tar.gz
exclude responses when fetching to delete
Diffstat (limited to 'src/slskd/Search/API/Controllers')
-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)
{