From a6568692b778bbc3b23526fd38ad7645bbd99b4f Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Sun, 14 Jun 2026 14:40:37 -0700 Subject: [PATCH] force set supporter status to true in server info endpoint --- server/routers/serverInfo/getServerInfo.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/server/routers/serverInfo/getServerInfo.ts b/server/routers/serverInfo/getServerInfo.ts index fa71cedc4..d7b407dc8 100644 --- a/server/routers/serverInfo/getServerInfo.ts +++ b/server/routers/serverInfo/getServerInfo.ts @@ -3,7 +3,6 @@ import HttpCode from "@server/types/HttpCode"; import createHttpError from "http-errors"; import logger from "@server/logger"; import { response as sendResponse } from "@server/lib/response"; -import config from "@server/lib/config"; import { build } from "@server/build"; import { APP_VERSION } from "@server/lib/consts"; import license from "#dynamic/license/license"; @@ -22,9 +21,6 @@ export async function getServerInfo( next: NextFunction ): Promise { try { - const supporterData = config.getSupporterData(); - const supporterStatusValid = supporterData?.valid || false; - let enterpriseLicenseValid = false; let enterpriseLicenseType: string | null = null; @@ -41,7 +37,7 @@ export async function getServerInfo( return sendResponse(res, { data: { version: APP_VERSION, - supporterStatusValid, + supporterStatusValid: true, build, enterpriseLicenseValid, enterpriseLicenseType