🐛 Fix download button (#172)
* Fix on context menu for folder * Make it works for My Drive * Fix downloading folder in the shared view --------- Co-authored-by: Anton SHEPILOV <ashepilov@linagora.com>
This commit is contained in:
@@ -130,11 +130,10 @@ export class DriveApiClient {
|
||||
}
|
||||
|
||||
static async getDownloadZipUrl(companyId: string, ids: string[]) {
|
||||
const { token } = await DriveApiClient.getDownloadToken(companyId, ids);
|
||||
// const { token } = await DriveApiClient.getDownloadToken(companyId, ids);
|
||||
return Api.route(
|
||||
`/internal/services/documents/v1/companies/${companyId}/item/download/zip` +
|
||||
`?items=${ids.join(',')}&token=${token}` +
|
||||
appendTdriveToken(true),
|
||||
`?items=${ids.join(',')}`
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user