1
0
Fork 0
mirror of synced 2024-07-08 15:56:23 +12:00

Getting rid of linting error.

This commit is contained in:
mike12345567 2024-04-24 15:59:11 +01:00
parent 849253faba
commit f76abb0ca9

View file

@ -13,7 +13,7 @@ export function clientLibraryPath(appId: string) {
* due to issues with the domain we were unable to continue doing this - keeping * due to issues with the domain we were unable to continue doing this - keeping
* incase we are able to switch back to CDN path again in future. * incase we are able to switch back to CDN path again in future.
*/ */
export function cloudClientLibraryUrl(appId: string, version: string) { function cloudClientLibraryUrl(appId: string) {
let file = clientLibraryPath(appId) let file = clientLibraryPath(appId)
return objectStore.getPresignedUrl(env.APPS_BUCKET_NAME, file) return objectStore.getPresignedUrl(env.APPS_BUCKET_NAME, file)
} }
@ -21,7 +21,7 @@ export function cloudClientLibraryUrl(appId: string, version: string) {
export function clientLibraryUrl(appId: string, version: string) { export function clientLibraryUrl(appId: string, version: string) {
let tenantId, qsParams: { appId: string; version: string; tenantId?: string } let tenantId, qsParams: { appId: string; version: string; tenantId?: string }
if (env.isProd() && !env.SELF_HOSTED) { if (env.isProd() && !env.SELF_HOSTED) {
return cloudClientLibraryUrl(appId, version) return cloudClientLibraryUrl(appId)
} }
try { try {
tenantId = getTenantId() tenantId = getTenantId()