File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 3434 "league/flysystem-azure" : " ~1.0" ,
3535 "league/flysystem-cached-adapter" : " ~1.0" ,
3636 "league/flysystem-copy" : " ~1.0" ,
37- "league /flysystem-dropbox" : " ~1.0" ,
37+ "spatie /flysystem-dropbox" : " ~1.0" ,
3838 "league/flysystem-gridfs" : " ~1.0" ,
3939 "league/flysystem-rackspace" : " ~1.0" ,
4040 "league/flysystem-replicate-adapter" : " ~1.0" ,
Original file line number Diff line number Diff line change 77
88namespace creocoder \flysystem ;
99
10- use Dropbox \Client ;
11- use League \ Flysystem \ Dropbox \DropboxAdapter ;
10+ use Spatie \ Dropbox \Client ;
11+ use Spatie \ FlysystemDropbox \DropboxAdapter ;
1212use yii \base \InvalidConfigException ;
1313
1414/**
@@ -53,8 +53,7 @@ public function init()
5353 protected function prepareAdapter ()
5454 {
5555 return new DropboxAdapter (
56- new Client ($ this ->token , $ this ->app ),
57- $ this ->prefix
56+ new Client ($ this ->token , $ this ->prefix ),
5857 );
5958 }
6059}
You can’t perform that action at this time.
0 commit comments