fix video download for public collection
This commit is contained in:
parent
1a74eccdd7
commit
ffe5062d7a
|
@ -1,5 +1,4 @@
|
|||
import {
|
||||
getFileURL,
|
||||
getPublicCollectionFileURL,
|
||||
getPublicCollectionThumbnailURL,
|
||||
} from 'utils/common/apiUtil';
|
||||
|
@ -127,7 +126,7 @@ class PublicCollectionDownloadManager {
|
|||
);
|
||||
return generateStreamFromArrayBuffer(decrypted);
|
||||
}
|
||||
const resp = await fetch(getFileURL(file.id), {
|
||||
const resp = await fetch(getPublicCollectionFileURL(file.id), {
|
||||
headers: {
|
||||
'X-Auth-Token': token,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue