Fix formatting

Signed-off-by: Nikolay Marchuk <nikolay.marchuk@hardcoreeng.com>
This commit is contained in:
Nikolay Marchuk 2025-05-06 11:01:57 +07:00
parent d2ee1fb838
commit ac40ca1956

View File

@ -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)
}