mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-10 09:22:23 +00:00
Fix formatting
Signed-off-by: Nikolay Marchuk <nikolay.marchuk@hardcoreeng.com>
This commit is contained in:
parent
d2ee1fb838
commit
ac40ca1956
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user