use goblin url (#16370)

This commit is contained in:
sean-brydon
2024-08-27 22:30:18 +00:00
committed by GitHub
parent 47e8907184
commit 6a90518231
@@ -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;