From 65dbf80f8496ca01684c211f632306db6691508f Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Thu, 5 Sep 2024 01:26:19 -0600 Subject: [PATCH] remove --- apps/dokploy/server/api/services/license.ts | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 apps/dokploy/server/api/services/license.ts diff --git a/apps/dokploy/server/api/services/license.ts b/apps/dokploy/server/api/services/license.ts deleted file mode 100644 index f6459af5..00000000 --- a/apps/dokploy/server/api/services/license.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { findAdmin } from "./admin"; - -export const isValidLicense = async () => { - const admin = await findAdmin(); - - const result = await fetch("http://127.0.0.1:4000/v1/validate-license", { - method: "POST", - headers: { - "Content-Type": "application/json", - }, - body: JSON.stringify({ - licenseKey: admin.licenseKey, - }), - }); - - const data = await result.json(); - return data.valid; -};