googlearchive / drive-zipextractor

Extract (decompress) ZIP files into Google Drive using the Google Drive API
Apache License 2.0
443 stars 288 forks source link

multi-account: doesn't open the google drive with the logged in account when viewing the extracted files #5

Open Avinash-Bhat opened 7 years ago

Avinash-Bhat commented 7 years ago

When using a multi-account workflow, the View extracted files button opens the google drive with https://drive.google.com/#folders/<folder-id> which doesn't open it correctly.

how to reproduce:

  1. login to the google services using 2 accounts.
  2. use the second account.
  3. connect to a zip file in google drive with zipextractor.
  4. extract the zip to a desired folder
  5. click on View extracted files button.

Expected: The drive link opens up with url of format: https://drive.google.com/drive/u/1/folders/<folder-id>

Obtained: The drive link opens up with url of format: https://drive.google.com/drive/u/0/folders/<folder-id>

MandyWood commented 6 years ago

Thank you for sending the support!!