fix: make search revalidate & change cache to be 10 minutes

This commit is contained in:
Prospector
2026-07-09 14:34:19 -07:00
parent 623b51e6ea
commit 703d211b28
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -884,7 +884,7 @@ async function search(requestParams: string) {
const rawResults = await queryClient.fetchQuery({
queryKey: ['search', 'v3', requestParams],
queryFn: () =>
get_search_results_v3(requestParams) as Promise<{
get_search_results_v3(requestParams, 'must_revalidate') as Promise<{
result: Labrinth.Search.v3.SearchResults & {
hits: (Labrinth.Search.v3.ResultSearchProject & { installed?: boolean })[]
}