mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-10 17:30:51 +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',
|
':workspace',
|
||||||
token.workspaceId
|
token.workspaceId
|
||||||
)
|
)
|
||||||
const uploadUrl = (config.UPLOAD_URL.startsWith('/') ? concatLink(url, config.UPLOAD_URL) : config.UPLOAD_URL).replace(
|
const uploadUrl = (
|
||||||
':workspace',
|
config.UPLOAD_URL.startsWith('/') ? concatLink(url, config.UPLOAD_URL) : config.UPLOAD_URL
|
||||||
token.workspaceId
|
).replace(':workspace', token.workspaceId)
|
||||||
)
|
|
||||||
return new StorageClientImpl(filesUrl, uploadUrl, token.token, token.workspaceId)
|
return new StorageClientImpl(filesUrl, uploadUrl, token.token, token.workspaceId)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user