From f20c209c941f05d68df3bc150d195c3c132658c5 Mon Sep 17 00:00:00 2001 From: ajnart Date: Fri, 29 Dec 2023 17:59:19 +0100 Subject: [PATCH] Address PR comments --- src/pages/onboard.tsx | 2 +- src/server/api/routers/app.ts | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/pages/onboard.tsx b/src/pages/onboard.tsx index 05b34c07c..de85c4eff 100644 --- a/src/pages/onboard.tsx +++ b/src/pages/onboard.tsx @@ -26,7 +26,7 @@ export default function OnboardPage({ const [onboardingSteps, { open: showOnboardingSteps }] = useDisclosure(false); - const isUpgradeFromSchemaOne = false; + const isUpgradeFromSchemaOne = configSchemaVersions.includes(1); return ( <> diff --git a/src/server/api/routers/app.ts b/src/server/api/routers/app.ts index ddfd49a8b..4ec416c71 100644 --- a/src/server/api/routers/app.ts +++ b/src/server/api/routers/app.ts @@ -8,12 +8,6 @@ import { AppType } from '~/types/app'; import { createTRPCRouter, publicProcedure } from '../trpc'; -// const agent = new https.Agent({ rejectUnauthorized: false }); -// const getCacheResponse = unstable_cache( -// async (app) => await axios.get(app.url, { httpsAgent: agent, timeout: 10000 }), -// ['app-id'] -// ); - export const appRouter = createTRPCRouter({ ping: publicProcedure .input(