@eluvio/elv-client-js 4.0.125 → 4.0.126
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1940,15 +1940,13 @@ exports.MakeFileServiceRequest = async function({
|
|
|
1940
1940
|
queryPath = UrlJoin("qlibs", libraryId, queryPath);
|
|
1941
1941
|
}
|
|
1942
1942
|
|
|
1943
|
-
|
|
1943
|
+
queryParams.authorization = [
|
|
1944
1944
|
authorizationToken,
|
|
1945
1945
|
await this.authClient.AuthorizationToken({libraryId, objectId, versionHash, encryption, makeAccessRequest: encryption === "cgck"})
|
|
1946
1946
|
]
|
|
1947
1947
|
.flat()
|
|
1948
1948
|
.filter(token => token);
|
|
1949
|
-
|
|
1950
|
-
headers.Authorization = headers.Authorization || authorization.map(token => `Bearer ${token}`);
|
|
1951
|
-
|
|
1949
|
+
|
|
1952
1950
|
return this.utils.ResponseToFormat(
|
|
1953
1951
|
format,
|
|
1954
1952
|
await this.FileServiceHttpClient.Request({
|