diff --git a/apps/licenses/src/utils/license.ts b/apps/licenses/src/utils/license.ts index b92efbe56..7d4bd740a 100644 --- a/apps/licenses/src/utils/license.ts +++ b/apps/licenses/src/utils/license.ts @@ -78,6 +78,13 @@ export const validateLicense = async (licenseKey: string, serverIp: string) => { const currentServerQuantity = license.serverIps?.length || 0; const serversQuantity = suscription.items.data[0].quantity || 0; + if (license.serverIps?.includes(serverIp)) { + return { + success: true, + license, + }; + } + if (currentServerQuantity >= serversQuantity) { return { success: false,