From ac40ca195630cb767fb23b7263a8354cb9f5cdb9 Mon Sep 17 00:00:00 2001 From: Nikolay Marchuk Date: Tue, 6 May 2025 11:01:57 +0700 Subject: [PATCH] Fix formatting Signed-off-by: Nikolay Marchuk --- packages/api-client/src/storage/client.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/api-client/src/storage/client.ts b/packages/api-client/src/storage/client.ts index a5bf5ec25d..f359d360ea 100644 --- a/packages/api-client/src/storage/client.ts +++ b/packages/api-client/src/storage/client.ts @@ -193,9 +193,8 @@ export async function connectStorage (url: string, options: AuthOptions, config? ':workspace', token.workspaceId ) - const uploadUrl = (config.UPLOAD_URL.startsWith('/') ? concatLink(url, config.UPLOAD_URL) : config.UPLOAD_URL).replace( - ':workspace', - token.workspaceId - ) + const uploadUrl = ( + config.UPLOAD_URL.startsWith('/') ? concatLink(url, config.UPLOAD_URL) : config.UPLOAD_URL + ).replace(':workspace', token.workspaceId) return new StorageClientImpl(filesUrl, uploadUrl, token.token, token.workspaceId) }