From 6a90518231230244ddab1f6767f917bfe4d77e03 Mon Sep 17 00:00:00 2001 From: sean-brydon <55134778+sean-brydon@users.noreply.github.com> Date: Tue, 27 Aug 2024 23:30:18 +0100 Subject: [PATCH] use goblin url (#16370) --- apps/api/v2/src/modules/deployments/deployments.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/v2/src/modules/deployments/deployments.service.ts b/apps/api/v2/src/modules/deployments/deployments.service.ts index 361f901c93..86425f15f2 100644 --- a/apps/api/v2/src/modules/deployments/deployments.service.ts +++ b/apps/api/v2/src/modules/deployments/deployments.service.ts @@ -33,7 +33,7 @@ export class DeploymentsService { if (!licenseKey) { return false; } - const licenseKeyUrl = this.configService.get("api.licenseKeyUrl") + `?key=${licenseKey}`; + const licenseKeyUrl = this.configService.get("api.licenseKeyUrl") + `/${licenseKey}`; const cachedData = await this.redisService.redis.get(getLicenseCacheKey(licenseKey)); if (cachedData) { return (JSON.parse(cachedData) as LicenseCheckResponse)?.valid;