From e3a75c2d16d796dcc082a1d9d819d2b224f00eae Mon Sep 17 00:00:00 2001 From: Pranav C Date: Sat, 7 Oct 2023 12:45:05 +0000 Subject: [PATCH] fix: duplicate var init --- packages/nocodb/src/services/shared-bases.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nocodb/src/services/shared-bases.service.ts b/packages/nocodb/src/services/shared-bases.service.ts index e3330c5b0c..12e9f0a05a 100644 --- a/packages/nocodb/src/services/shared-bases.service.ts +++ b/packages/nocodb/src/services/shared-bases.service.ts @@ -97,8 +97,8 @@ export class SharedBasesService { return data; } - private getUrl({ base, siteUrl }: { base: Base; siteUrl: string }) { - let siteUrl = param.siteUrl; + private getUrl({ base, siteUrl: _siteUrl }: { base: Base; siteUrl: string }) { + let siteUrl = _siteUrl; const baseDomain = process.env.NC_BASE_HOST_NAME; const dashboardPath = this.configService.get('dashboardPath', {