Closed afrasiyabhaider closed 5 years ago
Hi,
The folder ID is being set in the ServiceProvider.
The underlying GoogleDriveAdapter
requires this.
The ID is indeed fetched from the configuration file.
One approach could be to use a root folder ID with some subfolders.
Another way is to tweak the code from the ServiceProvider a bit to accept a folder ID instead of using the one from the config. But I don't think you can use Laravel's extend
functionality then. You'll have to create a custom class or function to do so.
I've created a function inside service provider class and then passed a value trough another class ro service provider
--Problem Solved--
I want to access multiple folders but
folderId
is fixed infilesystem.php
. How can Ichange
folder id when I want to access another Google Drive Folder?