From e410a07cac8ae04be16c08ee887093cb0fdc36d5 Mon Sep 17 00:00:00 2001 From: IMB11 Date: Sat, 14 Jun 2025 12:27:38 +0100 Subject: [PATCH] fix: usePyroServers -> useModrinthServers (#3788) --- apps/frontend/src/pages/search/[searchProjectType].vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/frontend/src/pages/search/[searchProjectType].vue b/apps/frontend/src/pages/search/[searchProjectType].vue index ebce581f4..42f01ad67 100644 --- a/apps/frontend/src/pages/search/[searchProjectType].vue +++ b/apps/frontend/src/pages/search/[searchProjectType].vue @@ -334,6 +334,7 @@ import { ImageIcon, } from "@modrinth/assets"; import { computed } from "vue"; +import { useModrinthServers } from "~/composables/servers/modrinth-servers.ts"; import ProjectCard from "~/components/ui/ProjectCard.vue"; import LogoAnimated from "~/components/brand/LogoAnimated.vue"; import AdPlaceholder from "~/components/ui/AdPlaceholder.vue"; @@ -388,7 +389,7 @@ async function updateServerContext() { if (!auth.value.user) { router.push("/auth/sign-in?redirect=" + encodeURIComponent(route.fullPath)); } else if (route.query.sid !== null) { - server.value = await usePyroServer(route.query.sid, ["general", "content"], { + server.value = await useModrinthServers(route.query.sid, ["general", "content"], { waitForModules: true, }); }