From 163e8edda548c16da2759737f66bf6f185419d8e Mon Sep 17 00:00:00 2001 From: Robert Jansen Date: Thu, 12 Dec 2024 15:51:50 +0000 Subject: [PATCH] slight telemetry schema adjustment --- src/globals/telemetry.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/globals/telemetry.ts b/src/globals/telemetry.ts index 7c05254..0f7cee0 100644 --- a/src/globals/telemetry.ts +++ b/src/globals/telemetry.ts @@ -5,14 +5,13 @@ import * as schema from "@/schema" import { lookup } from "@/globals/ip" import cache from "@/globals/cache" import { z } from "zod" -import github from "@/globals/github" export const telemetrySchema = z.object({ id: z.string().uuid(), telemetry_version: z.literal(1), blueprint: z.object({ - version: z.string().refine((str) => github().history.includes(str)), + version: z.string().max(31), extensions: z.object({ identifier: z.string(), version: z.string(),